mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: add scfg
This commit is contained in:
parent
4920a4e732
commit
736a672afe
5 changed files with 22 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
|||
- [x] [ruby](https://github.com/tree-sitter/tree-sitter-ruby) (maintained by @TravonteD)
|
||||
- [x] [rust](https://github.com/tree-sitter/tree-sitter-rust) (maintained by @amaanq)
|
||||
- [x] [scala](https://github.com/tree-sitter/tree-sitter-scala) (maintained by @stevanmilic)
|
||||
- [x] [scfg](https://git.sr.ht/~rockorager/tree-sitter-scfg) (maintained by @WhyNotHugo)
|
||||
- [ ] [scheme](https://github.com/6cdh/tree-sitter-scheme)
|
||||
- [x] [scss](https://github.com/serenadeai/tree-sitter-scss) (maintained by @elianiva)
|
||||
- [x] [slint](https://github.com/jrmoulton/tree-sitter-slint) (experimental, maintained by @jrmoulton)
|
||||
|
|
|
|||
|
|
@ -461,6 +461,9 @@
|
|||
"scala": {
|
||||
"revision": "8062487fb3b7f3ce1bb7ce1fd1c84bed60c75203"
|
||||
},
|
||||
"scfg": {
|
||||
"revision": "6deae0cbb458c849a4d1e2985093e9c9c32d7fd0"
|
||||
},
|
||||
"scheme": {
|
||||
"revision": "ca8af220aaf2a80aaf609bfb0df193817e4f064b"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1367,6 +1367,15 @@ list.scala = {
|
|||
maintainers = { "@stevanmilic" },
|
||||
}
|
||||
|
||||
list.scfg = {
|
||||
install_info = {
|
||||
url = "https://git.sr.ht/~rockorager/tree-sitter-scfg",
|
||||
files = { "src/parser.c" },
|
||||
requires_generate_from_grammar = true,
|
||||
},
|
||||
maintainers = { "@WhyNotHugo" },
|
||||
}
|
||||
|
||||
list.scheme = {
|
||||
install_info = {
|
||||
url = "https://github.com/6cdh/tree-sitter-scheme",
|
||||
|
|
|
|||
8
queries/scfg/highlights.scm
Normal file
8
queries/scfg/highlights.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
(comment) @comment @spell
|
||||
(directive_name) @type
|
||||
(directive_params) @parameter
|
||||
1
queries/scfg/injections.scm
Normal file
1
queries/scfg/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(comment) @comment
|
||||
Loading…
Add table
Add a link
Reference in a new issue