mirror of https://github.com/helix-editor/helix
add tree-sitter-git-rebase (#1402)
* 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 2ecee155ea
.
* fix generated language docs
* use rebase_command scopes from tree-sitter-git-commit
pull/1412/head
parent
a066f59dc8
commit
8fda87af2b
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 332dc528f27044bc4427024dbb33e6941fc131f2
|
@ -0,0 +1,11 @@
|
|||||||
|
(operation operator: ["p" "pick" "r" "reword" "e" "edit" "s" "squash" "m" "merge" "d" "drop" "b" "break" "x" "exec"] @keyword)
|
||||||
|
(operation operator: ["l" "label" "t" "reset"] @function)
|
||||||
|
(operation operator: ["f" "fixup"] @function.special)
|
||||||
|
|
||||||
|
(option) @operator
|
||||||
|
(label) @string.special.symbol
|
||||||
|
(commit) @constant
|
||||||
|
"#" @punctuation.delimiter
|
||||||
|
(comment) @comment
|
||||||
|
|
||||||
|
(ERROR) @error
|
@ -0,0 +1,4 @@
|
|||||||
|
((operation
|
||||||
|
operator: ["x" "exec"]
|
||||||
|
(command) @injection.content)
|
||||||
|
(#set! injection.language "bash"))
|
Loading…
Reference in New Issue