aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2022-03-19 05:43:13 +0000
committerGitHub2022-03-19 05:43:13 +0000
commitcfd992b1511655fc2116af4ddd1cd0dbb3bcb85e (patch)
tree65f4d7cf3e9d6e728a142cfccebce631b427e947 /runtime/queries
parent533cca7195b5ab36e0a1fa4863d00f6c11cb41b9 (diff)
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
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/git-commit/injections.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/git-commit/injections.scm b/runtime/queries/git-commit/injections.scm
index cf0657f7..79f7691a 100644
--- a/runtime/queries/git-commit/injections.scm
+++ b/runtime/queries/git-commit/injections.scm
@@ -1,5 +1,5 @@
-((comment (scissors))
- (message) @injection.content
+(((scissors)
+ (message) @injection.content)
(#set! injection.include-children)
(#set! injection.language "diff"))