mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 08:23:27 +02:00
The gbprod grammar is more complete and featureful than mine, and more actively maintained. I will archive my tree-sitter-git-commit in favor of gbprod's. The new queries are based on the ones in the repo upstream but I modified them to look similar to the highlights before this commit. Also I've updated the tab-width so that change nodes in the generated message are indented correctly.
7 lines
179 B
Scheme
7 lines
179 B
Scheme
((diff) @injection.content
|
|
(#set! injection.language "diff"))
|
|
|
|
((rebase_command) @injection.content
|
|
(#set! injection.include-children)
|
|
(#set! injection.language "git-rebase"))
|