-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate existing tree-sitter grammars #207416
Comments
HTML ✅
|
YAML
|
Repo | https://github.com/ikatyang/tree-sitter-yaml |
---|---|
Activity | last commit was 3 years ago |
Stars | 81 |
Used by | Neovim and emacs |
Issues | 18 open issues |
Repo | https://github.com/zed-industries/tree-sitter-yaml, fork of https://github.com/ikatyang/tree-sitter-yaml |
---|---|
Activity | last commit was 9 mos ago |
Stars | 1 |
Used by | Zed |
Issues | doesn't allow issues |
Repo | https://github.com/tree-sitter-grammars/tree-sitter-yaml , fork of https://github.com/ikatyang/tree-sitter-yaml |
---|---|
Activity | only 1 commit since fork |
Stars | 0 |
Used by | maybe no one |
Issues | allows issues but there are none |
XML ✅
|
Groovy ✅
|
Ini
|
Repo | https://github.com/justinmk/tree-sitter-ini |
---|---|
Activity | a little activity in the last 12 months |
Stars | 16 |
Used by | Neovim |
Issues | 3 open, 1 closed issues |
SCSS ❌
|
|
Curiously, 2 of those that would be "less supported" with tree-sitter are fsharp and razor... |
I didn't find a razor grammar, but if I missed one then please let me know! |
is this done |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, we use textmate grammars for syntax highlighting. We get these grammars from other OSS projects, which let's us avoid becoming experts in every programming language that we support. Many of these OSS projects are no longer supported though, and we've had to take ownership of at least one of the grammars (css).
Tree-sitter appears to be popular right now for syntax highlight grammars, but before we consider adding support for tree-sitter grammars in VS Code, we should understand what grammars already have good tree-sitter support. In particular, the following textmate grammars have reached a dead-end and are particularly important to have support for in whatever syntax highlighting solution we support next:
Key:
⚠️ limited repo activity
✅ repo is very active
❌ no repo or no activity
All other textmate languages
Summary:
10 will be more supported
5 will be less supported
5 will be equivalently unsupported
The text was updated successfully, but these errors were encountered: