on master help sign in
git-commit: fix highlight edge cases
bf1aa88Michael Davis
languages.toml+1−1
@@ -908,7 +908,7 @@ indent = { tab-width = 2, unit = " " }
908
908
909[[grammar]]
909[[grammar]]
910name = "git-commit"
910name = "git-commit"
911−source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "7ae23de633de41f8f5b802f6f05b6596df6d00c1" }
911+source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "318dd72abfaa7b8044c1d1fbeabcd06deaaf038f" }
912
912
913[[language]]
913[[language]]
914name = "git-diff"
914name = "git-diff"
runtime/queries/git-commit/highlights.scm+1−1
@@ -10,5 +10,5 @@
10(change kind: "modified" @diff.delta)
10(change kind: "modified" @diff.delta)
11(change kind: "renamed" @diff.delta.moved)
11(change kind: "renamed" @diff.delta.moved)
12
12
13−[":" "->"] @punctuation.delimeter
13+[":" "->" (scissors)] @punctuation.delimeter
14(comment) @comment
14(comment) @comment