8fda87af2b
* add submodule on tree-sitter-rebase, add to languages * add basic highlights query * inject bash in execute statements * update tree-sitter-rebase * tree-sitter-rebase->tree-sitter-git-rebase * get injection working with tree-sitter-git-commit * set scope under source.gitrebase * unset include-children on commit message injections * Revert "unset include-children on commit message injections" This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944. * fix generated language docs * use rebase_command scopes from tree-sitter-git-commit
8 lines
240 B
Scheme
8 lines
240 B
Scheme
((comment (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"))
|