1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 11:40:05 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/queries/gitignore/highlights.scm

32 lines
483 B
Scheme
Raw Normal View History

(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