aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davis2021-12-24 22:49:27 +0000
committerBlaž Hrastnik2021-12-25 15:12:49 +0000
commitc3fb86cbaa5c6973fe014a4401c4e0d6f663384d (patch)
tree65af5d4b1a847a7c5ae8c4c0dfde9190e674baa1
parent28c9afdd0e83da37c782fc82b859d8451df1b877 (diff)
tree-sitter-gitcommit->tree-sitter-git-commit
-rw-r--r--.gitmodules6
-rw-r--r--book/src/generated/lang-support.md2
m---------helix-syntax/languages/tree-sitter-git-commit0
m---------helix-syntax/languages/tree-sitter-gitcommit0
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/git-commit/highlights.scm (renamed from runtime/queries/gitcommit/highlights.scm)0
-rw-r--r--runtime/queries/git-commit/injections.scm (renamed from runtime/queries/gitcommit/injections.scm)0
7 files changed, 5 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
index ad100a00..d5bd61c9 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -170,7 +170,7 @@
path = helix-syntax/languages/tree-sitter-fish
url = https://github.com/ram02z/tree-sitter-fish
shallow = true
-[submodule "helix-syntax/languages/tree-sitter-gitcommit"]
- path = helix-syntax/languages/tree-sitter-gitcommit
- url = https://github.com/the-mikedavis/tree-sitter-gitcommit.git
+[submodule "helix-syntax/languages/tree-sitter-git-commit"]
+ path = helix-syntax/languages/tree-sitter-git-commit
+ url = https://github.com/the-mikedavis/tree-sitter-git-commit.git
shallow = true
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index d6e0d9af..9c42005b 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -11,7 +11,7 @@
| dockerfile | ✓ | | | `docker-langserver` |
| elixir | ✓ | | | `elixir-ls` |
| fish | ✓ | ✓ | ✓ | |
-| gitcommit | ✓ | | | |
+| git-commit | ✓ | | | |
| glsl | ✓ | | ✓ | |
| go | ✓ | ✓ | ✓ | `gopls` |
| html | ✓ | | | |
diff --git a/helix-syntax/languages/tree-sitter-git-commit b/helix-syntax/languages/tree-sitter-git-commit
new file mode 160000
+Subproject 5cd4776c86c82d9d6afdc8c73a47a08057aef61
diff --git a/helix-syntax/languages/tree-sitter-gitcommit b/helix-syntax/languages/tree-sitter-gitcommit
deleted file mode 160000
-Subproject 6a2ddbecd49fa8e7e1fda24d43e363cfd9171ca
diff --git a/languages.toml b/languages.toml
index f73011c8..616ef234 100644
--- a/languages.toml
+++ b/languages.toml
@@ -475,7 +475,7 @@ indent = { tab-width = 2, unit = " " }
language-server = { command = "docker-langserver", args = ["--stdio"] }
[[language]]
-name = "gitcommit"
+name = "git-commit"
scope = "git.commitmsg"
roots = []
file-types = ["COMMIT_EDITMSG"]
diff --git a/runtime/queries/gitcommit/highlights.scm b/runtime/queries/git-commit/highlights.scm
index 04d70416..04d70416 100644
--- a/runtime/queries/gitcommit/highlights.scm
+++ b/runtime/queries/git-commit/highlights.scm
diff --git a/runtime/queries/gitcommit/injections.scm b/runtime/queries/git-commit/injections.scm
index 2837a586..2837a586 100644
--- a/runtime/queries/gitcommit/injections.scm
+++ b/runtime/queries/git-commit/injections.scm