mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -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
36
runtime/queries/gitignore/highlights.scm
Normal file
36
runtime/queries/gitignore/highlights.scm
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(pattern_char) @string.special.path
|
||||
|
||||
[
|
||||
(directory_separator)
|
||||
(directory_separator_escaped)
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
(wildcard_char_single)
|
||||
(wildcard_chars)
|
||||
(wildcard_chars_allow_slash)
|
||||
] @character.special
|
||||
|
||||
[
|
||||
(pattern_char_escaped)
|
||||
(bracket_char_escaped)
|
||||
] @string.escape
|
||||
|
||||
(negation) @punctuation.special
|
||||
|
||||
(bracket_negation) @operator
|
||||
|
||||
; bracket expressions
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
(bracket_char) @constant
|
||||
|
||||
(bracket_range
|
||||
"-" @operator)
|
||||
|
||||
(bracket_char_class) @constant.builtin
|
||||
2
runtime/queries/gitignore/injections.scm
Normal file
2
runtime/queries/gitignore/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