mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 02:47:45 +03:00
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
|
((section_name) @keyword.directive
|
||||||
(#eq? @keyword.directive "include"))
|
(#eq? @keyword.directive "include"))
|
||||||
|
|
||||||
|
@ -6,16 +8,15 @@
|
||||||
(subsection_name))
|
(subsection_name))
|
||||||
(#eq? @keyword.directive "includeIf"))
|
(#eq? @keyword.directive "includeIf"))
|
||||||
|
|
||||||
(section_name) @markup.heading
|
|
||||||
(variable (name) @variable.other.member)
|
(variable (name) @variable.other.member)
|
||||||
[(true) (false)] @constant.builtin.boolean
|
[(true) (false)] @constant.builtin.boolean
|
||||||
(integer) @constant.numeric.integer
|
(integer) @constant.numeric.integer
|
||||||
|
|
||||||
|
[(string) (subsection_name)] @string
|
||||||
|
|
||||||
((string) @string.special.path
|
((string) @string.special.path
|
||||||
(#match? @string.special.path "^(~|./|/)"))
|
(#match? @string.special.path "^(~|./|/)"))
|
||||||
|
|
||||||
[(string) (subsection_name)] @string
|
|
||||||
|
|
||||||
[
|
[
|
||||||
"["
|
"["
|
||||||
"]"
|
"]"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue