aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorMichael Davis2021-12-29 15:31:23 +0000
committerGitHub2021-12-29 15:31:23 +0000
commitbcf3808e9763bfe1bbf70f6053f890c80639d7c9 (patch)
tree638a8c46ccdcd65de529b1f0a5c146fa7d355313 /helix-syntax
parent49444f9c0569a070ffd3c82cee6146656a0ac63c (diff)
Add tree-sitter-git-diff (#1373)
* 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
Diffstat (limited to 'helix-syntax')
m---------helix-syntax/languages/tree-sitter-git-commit0
m---------helix-syntax/languages/tree-sitter-git-diff0
2 files changed, 0 insertions, 0 deletions
diff --git a/helix-syntax/languages/tree-sitter-git-commit b/helix-syntax/languages/tree-sitter-git-commit
-Subproject 5cd4776c86c82d9d6afdc8c73a47a08057aef61
+Subproject 066e395e1107df17183cf3ae4230f1a1406cc97
diff --git a/helix-syntax/languages/tree-sitter-git-diff b/helix-syntax/languages/tree-sitter-git-diff
new file mode 160000
+Subproject c12e6ecb54485f764250556ffd7ccb18f8e2942