From 961025433d8707c49d912bd22e7e1615574baec2 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 21 Mar 2024 10:13:38 -0400 Subject: Update tree-sitter-git-commit This commit has partial support for escapes within strings. --- runtime/queries/git-config/highlights.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/queries/git-config') 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 -- cgit v1.2.3-70-g09d2