mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(editorconfig)!: update parser and queries
Removed nodes: section_name, expansion_string, wildcard_characters, wildcard_any_characters, wildcard_single_character, unset, boolean, spelling_language, indent_style, end_of_line, charset, unknown Renamed nodes: identifier -> property negation -> "!" path_separator -> "/" escaped_character -> character_escape
This commit is contained in:
parent
dc42c209f3
commit
d660b7c002
3 changed files with 18 additions and 38 deletions
2
SUPPORTED_LANGUAGES.md
generated
2
SUPPORTED_LANGUAGES.md
generated
|
|
@ -66,7 +66,7 @@ Language | Tier | Queries | Maintainer
|
||||||
[earthfile](https://github.com/glehmann/tree-sitter-earthfile) | unstable | `H J ` | @glehmann
|
[earthfile](https://github.com/glehmann/tree-sitter-earthfile) | unstable | `H J ` | @glehmann
|
||||||
[ebnf](https://github.com/RubixDev/ebnf) | unstable | `H J ` | @RubixDev
|
[ebnf](https://github.com/RubixDev/ebnf) | unstable | `H J ` | @RubixDev
|
||||||
ecma (queries only)[^ecma] | unstable | `HFIJL` | @steelsojka
|
ecma (queries only)[^ecma] | unstable | `HFIJL` | @steelsojka
|
||||||
[editorconfig](https://github.com/ValdezFOmar/tree-sitter-editorconfig) | unstable | `HF J ` | @ValdezFOmar
|
[editorconfig](https://github.com/ValdezFOmar/tree-sitter-editorconfig) | stable | `HF J ` | @ValdezFOmar
|
||||||
[eds](https://github.com/uyha/tree-sitter-eds) | unstable | `HF ` | @uyha
|
[eds](https://github.com/uyha/tree-sitter-eds) | unstable | `HF ` | @uyha
|
||||||
[eex](https://github.com/connorlay/tree-sitter-eex) | unstable | `H J ` | @connorlay
|
[eex](https://github.com/connorlay/tree-sitter-eex) | unstable | `H J ` | @connorlay
|
||||||
[elixir](https://github.com/elixir-lang/tree-sitter-elixir) | unstable | `HFIJL` | @connorlay
|
[elixir](https://github.com/elixir-lang/tree-sitter-elixir) | unstable | `HFIJL` | @connorlay
|
||||||
|
|
|
||||||
|
|
@ -448,11 +448,11 @@ return {
|
||||||
},
|
},
|
||||||
editorconfig = {
|
editorconfig = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '406ab80f7dc4f3aac252ad3d106737a621dde47d',
|
revision = 'v2.0.0',
|
||||||
url = 'https://github.com/ValdezFOmar/tree-sitter-editorconfig',
|
url = 'https://github.com/ValdezFOmar/tree-sitter-editorconfig',
|
||||||
},
|
},
|
||||||
maintainers = { '@ValdezFOmar' },
|
maintainers = { '@ValdezFOmar' },
|
||||||
tier = 2,
|
tier = 1,
|
||||||
},
|
},
|
||||||
eds = {
|
eds = {
|
||||||
install_info = {
|
install_info = {
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,19 @@
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
||||||
(section
|
(property) @property
|
||||||
(section_name) @string.special.path)
|
|
||||||
|
|
||||||
(character_choice
|
(string) @string
|
||||||
(character) @constant)
|
|
||||||
|
|
||||||
(character_range
|
(header
|
||||||
start: (character) @constant
|
(glob) @string.special.path)
|
||||||
end: (character) @constant)
|
|
||||||
|
(character) @character
|
||||||
|
|
||||||
|
(character_escape) @string.escape
|
||||||
|
|
||||||
|
(wildcard) @character.special
|
||||||
|
|
||||||
|
(integer) @number
|
||||||
|
|
||||||
[
|
[
|
||||||
"["
|
"["
|
||||||
|
|
@ -20,36 +25,11 @@
|
||||||
[
|
[
|
||||||
","
|
","
|
||||||
".."
|
".."
|
||||||
(path_separator)
|
"/"
|
||||||
|
"-"
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
[
|
[
|
||||||
"-"
|
|
||||||
"="
|
"="
|
||||||
(negation)
|
"!"
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
[
|
|
||||||
(wildcard_characters)
|
|
||||||
(wildcard_any_characters)
|
|
||||||
(wildcard_single_character)
|
|
||||||
] @character.special
|
|
||||||
|
|
||||||
(escaped_character) @string.escape
|
|
||||||
|
|
||||||
(pair
|
|
||||||
key: (identifier) @property
|
|
||||||
value: (_) @string)
|
|
||||||
|
|
||||||
(boolean) @boolean
|
|
||||||
|
|
||||||
(integer) @number
|
|
||||||
|
|
||||||
(unset) @constant.builtin
|
|
||||||
|
|
||||||
[
|
|
||||||
(spelling_language)
|
|
||||||
(indent_style)
|
|
||||||
(end_of_line)
|
|
||||||
(charset)
|
|
||||||
] @string.special
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue