mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
YAML: update queries (#1203)
Closes https://github.com/nvim-treesitter/nvim-treesitter-refactor/issues/18
This commit is contained in:
parent
15f27cf301
commit
574bd5ae37
5 changed files with 13 additions and 8 deletions
|
|
@ -147,7 +147,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
|||
- [ ] [elm](https://github.com/elm-tooling/tree-sitter-elm)
|
||||
- [x] [erlang](https://github.com/AbstractMachinesLab/tree-sitter-erlang) (maintained by @ostera)
|
||||
- [x] [fennel](https://github.com/travonted/tree-sitter-fennel) (maintained by @TravonteD)
|
||||
- [x] [Godot (gdscript)](https://github.com/PrestonKnopp/tree-sitter-gdscript) (maintained by not @tjdevries)
|
||||
- [x] [Godot (gdscript)](https://github.com/PrestonKnopp/tree-sitter-gdscript) (maintained by @Shatur95)
|
||||
- [x] [Glimmer and Ember](https://github.com/alexlafroscia/tree-sitter-glimmer) (maintained by @alexlafroscia)
|
||||
- [x] [go](https://github.com/tree-sitter/tree-sitter-go) (maintained by @theHamsta, @WinWisely268)
|
||||
- [x] [graphql](https://github.com/bkegley/tree-sitter-graphql) (maintained by @bkegley)
|
||||
|
|
@ -189,7 +189,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
|||
- [x] [typescript](https://github.com/tree-sitter/tree-sitter-typescript) (maintained by @steelsojka)
|
||||
- [x] [verilog](https://github.com/tree-sitter/tree-sitter-verilog) (maintained by @zegervdv)
|
||||
- [x] [vue](https://github.com/ikatyang/tree-sitter-vue) (maintained by @WhyNotHugo)
|
||||
- [ ] [yaml](https://github.com/ikatyang/tree-sitter-yaml)
|
||||
- [x] [yaml](https://github.com/ikatyang/tree-sitter-yaml) (maintained by @stsewd)
|
||||
- [x] [zig](https://github.com/Himujjal/tree-sitter-zig) (maintained by @Himujjal)
|
||||
<!--parserinfo-->
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@
|
|||
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
|
||||
},
|
||||
"yaml": {
|
||||
"revision": "2240ccd0538c8f41394b9cd2202a175b1660b8d6"
|
||||
"revision": "6129a83eeec7d6070b1c0567ec7ce3509ead607c"
|
||||
},
|
||||
"zig": {
|
||||
"revision": "05d6f44e5ae8fe986a7ca09ce2a301aa5148a20f"
|
||||
|
|
|
|||
|
|
@ -352,7 +352,8 @@ list.yaml = {
|
|||
install_info = {
|
||||
url = "https://github.com/ikatyang/tree-sitter-yaml",
|
||||
files = { "src/parser.c", "src/scanner.cc" },
|
||||
}
|
||||
},
|
||||
maintainers = {"@stsewd"},
|
||||
}
|
||||
|
||||
list.nix = {
|
||||
|
|
|
|||
|
|
@ -8,11 +8,12 @@
|
|||
(integer_scalar) @number
|
||||
(float_scalar) @number
|
||||
(comment) @comment
|
||||
(anchor) @type
|
||||
(alias) @type
|
||||
(anchor_name) @type
|
||||
(alias_name) @type
|
||||
(tag) @type
|
||||
(yaml_directive) @keyword
|
||||
(ERROR) @error
|
||||
|
||||
[
|
||||
","
|
||||
"-"
|
||||
|
|
@ -21,9 +22,12 @@
|
|||
"?"
|
||||
"|"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
["*" "&"] @punctuation.special
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
(document) @scope
|
||||
|
||||
(anchor) @definition
|
||||
(alias) @reference
|
||||
(anchor_name) @definition
|
||||
(alias_name) @reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue