queries: Reverse precedence for git-config highlights

This commit is contained in:
Michael Davis
2025-02-24 10:41:09 -05:00
parent 3683cd9ea3
commit e1c26ebfc7

View File

@@ -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
[
"["
"]"