diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2026-02-22 04:36:59 -0800 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2026-02-23 17:49:34 +0100 |
| commit | d660b7c002f3922b6bb3da47206645488a698426 (patch) | |
| tree | 23ee85c62d866e3227d81b22d080db02501e7ab2 /runtime | |
| parent | bot(parsers): update c_sharp, desktop, editorconfig, fish, kitty, kotlin, mli... (diff) | |
| download | nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar.gz nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar.bz2 nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar.lz nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar.xz nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.tar.zst nvim-treesitter-d660b7c002f3922b6bb3da47206645488a698426.zip | |
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
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/queries/editorconfig/highlights.scm | 50 |
1 files changed, 15 insertions, 35 deletions
diff --git a/runtime/queries/editorconfig/highlights.scm b/runtime/queries/editorconfig/highlights.scm index feb0a524c..a1d686b36 100644 --- a/runtime/queries/editorconfig/highlights.scm +++ b/runtime/queries/editorconfig/highlights.scm @@ -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 |
