Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | add tree-sitter-git-rebase (#1402) | Michael Davis | 2021-12-30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||
* | Add tree-sitter-git-diff (#1373) | Michael Davis | 2021-12-29 |
| | | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-git-diff * add git-diff highlights * inject git-diff into git-commit * update tree-sitter-git-commit with fix for bad diff case * add git-diff to language support docs * include-children in diff injections This ensures that children nodes of $.message are included in the injection, such as $.user or issue/pr numbers. Without this change, diffs containing '#' or '@' characters can trip up the injection and be parsed separately. See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629 * set diff language's scope as source.diff | ||
* | highlight rebase-commands as markup.raw | Michael Davis | 2021-12-25 |
| | |||
* | tree-sitter-gitcommit->tree-sitter-git-commit | Michael Davis | 2021-12-25 |