mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
1
runtime/queries/editorconfig/folds.scm
Normal file
1
runtime/queries/editorconfig/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(section) @fold
|
||||
55
runtime/queries/editorconfig/highlights.scm
Normal file
55
runtime/queries/editorconfig/highlights.scm
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(section
|
||||
(section_name) @string.special.path)
|
||||
|
||||
(character_choice
|
||||
(character) @constant)
|
||||
|
||||
(character_range
|
||||
start: (character) @constant
|
||||
end: (character) @constant)
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
","
|
||||
".."
|
||||
(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
|
||||
2
runtime/queries/editorconfig/injections.scm
Normal file
2
runtime/queries/editorconfig/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue