on master help sign in
update tree-sitter-git-commit (#1838)

changes: - any text following a (scissors) is now contained in one (message) - this vastly improves performance on large verbose commits: no more slowness on huge commits

commitcfd992b1511655fc2116af4ddd1cd0dbb3bcb85e authorMichael Davis <mcarsondavis@gmail.com> dateSat 19 Mar 2022, 00:43 (5 years ago) parent533cca7
2 files changed+3−3
languages.toml+1−1 runtime/queries/git-commit/injections.scm+2−2
languages.toml+1−1
@@ -830,7 +830,7 @@ indent = { tab-width = 2, unit = " " }
830830
831831[[grammar]]
832832name = "git-commit"
833−source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "066e395e1107df17183cf3ae4230f1a1406cc972" }
833+source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "7ae23de633de41f8f5b802f6f05b6596df6d00c1" }
834834
835835[[language]]
836836name = "git-diff"
runtime/queries/git-commit/injections.scm+2−2
@@ -1,5 +1,5 @@
1−((comment (scissors))
2− (message) @injection.content
1+(((scissors)
2+ (message) @injection.content)
33 (#set! injection.include-children)
44 (#set! injection.language "diff"))
55