diff options
author | Michael Davis | 2021-12-30 22:58:47 +0000 |
---|---|---|
committer | GitHub | 2021-12-30 22:58:47 +0000 |
commit | 8fda87af2bb0625c502a23ddbd78a7447ada7bcb (patch) | |
tree | 62a9f9a0cdd007bb3de78b7a153fcf8d00b8de84 /languages.toml | |
parent | a066f59dc87608935ef4a3a3df3edf180c809e11 (diff) |
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 2ecee155ea8e229651920b291062c2ee84b47944.
* fix generated language docs
* use rebase_command scopes from tree-sitter-git-commit
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index c3ae9f62..3d9bac7b 100644 --- a/languages.toml +++ b/languages.toml @@ -490,3 +490,12 @@ file-types = ["diff"] injection-regex = "diff" comment-token = "#" indent = { tab-width = 2, unit = " " } + +[[language]] +name = "git-rebase" +scope = "source.gitrebase" +roots = [] +file-types = ["git-rebase-todo"] +injection-regex = "git-rebase" +comment-token = "#" +indent = { tab-width = 2, unit = " " } |