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
pull/1850/head
Michael Davis 2 years ago committed by GitHub
parent 533cca7195
commit cfd992b151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -830,7 +830,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "git-commit" name = "git-commit"
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "066e395e1107df17183cf3ae4230f1a1406cc972" } source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "7ae23de633de41f8f5b802f6f05b6596df6d00c1" }
[[language]] [[language]]
name = "git-diff" name = "git-diff"

@ -1,5 +1,5 @@
((comment (scissors)) (((scissors)
(message) @injection.content (message) @injection.content)
(#set! injection.include-children) (#set! injection.include-children)
(#set! injection.language "diff")) (#set! injection.language "diff"))

Loading…
Cancel
Save