helix/runtime/queries/git-commit/injections.scm
Michael Davis cfd992b151
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
2022-03-19 14:43:13 +09:00

9 lines
233 B
Scheme

(((scissors)
(message) @injection.content)
(#set! injection.include-children)
(#set! injection.language "diff"))
((rebase_command) @injection.content
(#set! injection.include-children)
(#set! injection.language "git-rebase"))