queries: Reverse precedence for git-config highlights
This commit is contained in:
parent
3683cd9ea3
commit
e1c26ebfc7
1 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
(section_name) @markup.heading
|
||||
|
||||
((section_name) @keyword.directive
|
||||
(#eq? @keyword.directive "include"))
|
||||
|
||||
|
@ -6,16 +8,15 @@
|
|||
(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) (subsection_name)] @string
|
||||
|
||||
((string) @string.special.path
|
||||
(#match? @string.special.path "^(~|./|/)"))
|
||||
|
||||
[(string) (subsection_name)] @string
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
|
|
Loading…
Add table
Reference in a new issue