on master help sign in
Update tree-sitter-git-commit (#6692)
686a1e2Michael Davis
languages.toml+1−1
@@ -1194,7 +1194,7 @@ text-width = 72
1194
1194
1195[[grammar]]
1195[[grammar]]
1196name = "git-commit"
1196name = "git-commit"
1197−source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "bd0ca5a6065f2cada3ac6a82a66db3ceff55fa6b" }
1197+source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "db88cffa3952dd2328b741af5d0fc69bdb76704f" }
1198
1198
1199[[language]]
1199[[language]]
1200name = "diff"
1200name = "diff"
runtime/queries/git-commit/highlights.scm+5−1
@@ -10,5 +10,9 @@
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+(trailer
14+ key: (trailer_key) @variable.other.member
15+ value: (trailer_value) @string)
16+
13−[":" "->" (scissors)] @punctuation.delimiter
17+[":" "=" "->" (scissors)] @punctuation.delimiter
14(comment) @comment
18(comment) @comment