forked from Mirrors/helix
add tree-sitter-git-config (#1426)
* add tree-sitter-git-config * add todo comment for improving filetype checkimgbot
parent
97e12f5c5a
commit
e0a99ae51a
@ -0,0 +1 @@
|
||||
Subproject commit 0e4f0baf90b57e5aeb62dcdbf03062c6315d43ea
|
@ -0,0 +1,27 @@
|
||||
((section_name) @keyword.directive
|
||||
(#eq? @keyword.directive "include"))
|
||||
|
||||
((section_header
|
||||
(section_name) @keyword.directive
|
||||
(subsection_name))
|
||||
(#eq? @keyword.directive "includeIf"))
|
||||
|
||||
(section_name) @markup.heading
|
||||
(variable (name) @variable.other.member)
|
||||
[(true) (false)] @constant.builtin.boolean
|
||||
(integer) @constant.numeric.integer
|
||||
|
||||
((string) @string.special.path
|
||||
(#match? @string.special.path "^(~|./|/)"))
|
||||
|
||||
[(string) (subsection_name)] @string
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"\""
|
||||
] @punctuation.bracket
|
||||
|
||||
"=" @punctuation.delimiter
|
||||
|
||||
(comment) @comment
|
Loading…
Reference in New Issue