aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorMichael Davis2021-12-29 15:31:23 +0000
committerGitHub2021-12-29 15:31:23 +0000
commitbcf3808e9763bfe1bbf70f6053f890c80639d7c9 (patch)
tree638a8c46ccdcd65de529b1f0a5c146fa7d355313 /book
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 'book')
-rw-r--r--book/src/generated/lang-support.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 5d172751..91575c62 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -12,6 +12,7 @@
| elixir | ✓ | | | `elixir-ls` |
| fish | ✓ | ✓ | ✓ | |
| git-commit | ✓ | | | |
+| git-diff | ✓ | | | |
| glsl | ✓ | | ✓ | |
| go | ✓ | ✓ | ✓ | `gopls` |
| html | ✓ | | | |