Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/git-config/highlights.scm')
-rw-r--r--runtime/queries/git-config/highlights.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/git-config/highlights.scm b/runtime/queries/git-config/highlights.scm
index 456639ce..ad864b50 100644
--- a/runtime/queries/git-config/highlights.scm
+++ b/runtime/queries/git-config/highlights.scm
@@ -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
-
[
"["
"]"