on master help sign in
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.

commit43b31f702a13d3ced2dc414d2febe5bcf222366a authorMichael Davis <mcarsondavis@gmail.com> dateMon 5 Sep 2022, 22:02 (4 years ago) parentf7c216d
3 files changed+4−4
book/src/generated/lang-support.md+1−1 languages.toml+3−3 runtime/queries/git-diff/highlights.scm → runtime/queries/diff/highlights.scm
book/src/generated/lang-support.md+1−1
@@ -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
@@ -978,7 +978,7 @@ name = "git-commit"
978978source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "318dd72abfaa7b8044c1d1fbeabcd06deaaf038f" }
979979
980980[[language]]
981−name = "git-diff"
981+name = "diff"
982982scope = "source.diff"
983983roots = []
984984file-types = ["diff"]
@@ -987,8 +987,8 @@ comment-token = "#"
987987indent = { 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]]
994994name = "git-rebase"
runtime/queries/git-diff/highlights.scm → runtime/queries/diff/highlights.scmrenamed

The content is the same.