Skip to content

Commit 43b31f7

Browse files
Update tree-sitter-diff (#3708)
This change also renames the grammar from `git-diff` to `diff`. The grammar covers regular diff syntax so I renamed the repository a while ago.
1 parent f7c216d commit 43b31f7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

book/src/generated/lang-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
| cue || | | `cuelsp` |
1616
| dart || || `dart` |
1717
| devicetree || | | |
18+
| diff || | | |
1819
| dockerfile || | | `docker-langserver` |
1920
| dot || | | `dot-language-server` |
2021
| edoc || | | |
@@ -32,7 +33,6 @@
3233
| git-attributes || | | |
3334
| git-commit || | | |
3435
| git-config || | | |
35-
| git-diff || | | |
3636
| git-ignore || | | |
3737
| git-rebase || | | |
3838
| gleam ||| | `gleam` |

languages.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ name = "git-commit"
978978
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "318dd72abfaa7b8044c1d1fbeabcd06deaaf038f" }
979979

980980
[[language]]
981-
name = "git-diff"
981+
name = "diff"
982982
scope = "source.diff"
983983
roots = []
984984
file-types = ["diff"]
@@ -987,8 +987,8 @@ comment-token = "#"
987987
indent = { tab-width = 2, unit = " " }
988988

989989
[[grammar]]
990-
name = "git-diff"
991-
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-diff", rev = "c12e6ecb54485f764250556ffd7ccb18f8e2942b" }
990+
name = "diff"
991+
source = { git = "https://github.com/the-mikedavis/tree-sitter-diff", rev = "fd74c78fa88a20085dbc7bbeaba066f4d1692b63" }
992992

993993
[[language]]
994994
name = "git-rebase"

0 commit comments

Comments
 (0)