diff options
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/git-config/highlights.scm | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/languages.toml b/languages.toml index 9b0a1612..970c943f 100644 --- a/languages.toml +++ b/languages.toml @@ -1617,7 +1617,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 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 |