forked from Mirrors/helix
feat(languages): git-ignore and git-attributes (#2397)
parent
fc61796895
commit
a5f4925f53
@ -0,0 +1,9 @@
|
||||
; inherits: git-ignore
|
||||
|
||||
(attribute) @variable
|
||||
(value) @string
|
||||
|
||||
(quoted_pattern ["\""] @string)
|
||||
|
||||
(attribute_unset) @operator
|
||||
(attribute_set_to) @operator
|
@ -0,0 +1,25 @@
|
||||
(pattern_char) @string
|
||||
(pattern_char_escaped) @constant.character.escape
|
||||
|
||||
(directory_separator) @string
|
||||
(directory_separator_escaped) @constant.character.escape
|
||||
|
||||
(negation) @operator
|
||||
|
||||
(wildcard_char_single) @operator
|
||||
(wildcard_chars) @operator
|
||||
(wildcard_chars_allow_slash) @operator
|
||||
|
||||
(bracket_char) @string
|
||||
(bracket_char_escaped) @constant.character.escape
|
||||
|
||||
(bracket_negation) @operator
|
||||
(bracket_range) @operator
|
||||
(bracket_char_class) @keyword
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
(comment) @comment
|
Loading…
Reference in New Issue