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.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/runtime/queries/git-config/highlights.scm b/runtime/queries/git-config/highlights.scm
index ad864b50..84767edc 100644
--- a/runtime/queries/git-config/highlights.scm
+++ b/runtime/queries/git-config/highlights.scm
@@ -1,5 +1,3 @@
-(section_name) @markup.heading
-
((section_name) @keyword.directive
(#eq? @keyword.directive "include"))
@@ -8,22 +6,22 @@
(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
+
[
"["
"]"
+ "\""
] @punctuation.bracket
-["=" "\\"] @punctuation.delimiter
-
-(escape_sequence) @constant.character.escape
+"=" @punctuation.delimiter
(comment) @comment