mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
31
runtime/queries/gitignore/highlights.scm
Normal file
31
runtime/queries/gitignore/highlights.scm
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
[
|
||||
(directory_separator)
|
||||
(directory_separator_escaped)
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
(wildcard_char_single)
|
||||
(wildcard_chars)
|
||||
(wildcard_chars_allow_slash)
|
||||
(bracket_negation)
|
||||
] @operator
|
||||
|
||||
(negation) @punctuation.special
|
||||
|
||||
[
|
||||
(pattern_char_escaped)
|
||||
(bracket_char_escaped)
|
||||
] @string.escape
|
||||
|
||||
;; bracket expressions
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
(bracket_char) @constant
|
||||
(bracket_range
|
||||
"-" @operator)
|
||||
(bracket_char_class) @constant.builtin
|
||||
Loading…
Add table
Add a link
Reference in a new issue