mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00: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:
committed by
Christian Clason
parent
dc42c209f3
commit
d660b7c002
@@ -1,14 +1,19 @@
|
||||
(comment) @comment @spell
|
||||
|
||||
(section
|
||||
(section_name) @string.special.path)
|
||||
(property) @property
|
||||
|
||||
(character_choice
|
||||
(character) @constant)
|
||||
(string) @string
|
||||
|
||||
(character_range
|
||||
start: (character) @constant
|
||||
end: (character) @constant)
|
||||
(header
|
||||
(glob) @string.special.path)
|
||||
|
||||
(character) @character
|
||||
|
||||
(character_escape) @string.escape
|
||||
|
||||
(wildcard) @character.special
|
||||
|
||||
(integer) @number
|
||||
|
||||
[
|
||||
"["
|
||||
@@ -20,36 +25,11 @@
|
||||
[
|
||||
","
|
||||
".."
|
||||
(path_separator)
|
||||
"/"
|
||||
"-"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"-"
|
||||
"="
|
||||
(negation)
|
||||
"!"
|
||||
] @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
|
||||
|
||||
Reference in New Issue
Block a user