summaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2024-03-21 14:13:38 +0000
committerBlaž Hrastnik2024-03-21 15:20:29 +0000
commit961025433d8707c49d912bd22e7e1615574baec2 (patch)
tree6f021afa9a1474bc0cffc6116ecc092c01125754 /runtime/queries
parent51739f1290b9007febc68706727189a085265017 (diff)
Update tree-sitter-git-commit
This commit has partial support for escapes within strings.
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/git-config/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/queries/git-config/highlights.scm b/runtime/queries/git-config/highlights.scm
index 84767edc..456639ce 100644
--- a/runtime/queries/git-config/highlights.scm
+++ b/runtime/queries/git-config/highlights.scm
@@ -19,9 +19,10 @@
[
"["
"]"
- "\""
] @punctuation.bracket
-"=" @punctuation.delimiter
+["=" "\\"] @punctuation.delimiter
+
+(escape_sequence) @constant.character.escape
(comment) @comment