Skip to content

Commit

Permalink
Update tree-sitter-git-commit
Browse files Browse the repository at this point in the history
This commit has partial support for escapes within strings.
  • Loading branch information
the-mikedavis authored and archseer committed Mar 21, 2024
1 parent 51739f1 commit 9610254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions runtime/queries/git-config/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
[
"["
"]"
"\""
] @punctuation.bracket

"=" @punctuation.delimiter
["=" "\\"] @punctuation.delimiter

(escape_sequence) @constant.character.escape

(comment) @comment

0 comments on commit 9610254

Please sign in to comment.