From a895331024835d695cbb96ffc7e26a895d7e42c5 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 26 Sep 2023 08:30:17 -0500 Subject: [PATCH] Update tree-sitter-git-config --- languages.toml | 2 +- runtime/queries/git-config/highlights.scm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/languages.toml b/languages.toml index 052b8828987a1..cb8eb6769d32b 100644 --- a/languages.toml +++ b/languages.toml @@ -1407,7 +1407,7 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "git-config" -source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config", rev = "0e4f0baf90b57e5aeb62dcdbf03062c6315d43ea" } +source = { git = "https://github.com/the-mikedavis/tree-sitter-git-config", rev = "9c2a1b7894e6d9eedfe99805b829b4ecd871375e" } [[language]] name = "git-attributes" diff --git a/runtime/queries/git-config/highlights.scm b/runtime/queries/git-config/highlights.scm index 84767edc63396..456639ce33cad 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