add gitcommit grammar and language configuration

pull/1385/head
Michael Davis 3 years ago committed by Blaž Hrastnik
parent 4b0b1a5657
commit fd31662b70

6
.gitmodules vendored

@ -165,8 +165,12 @@
[submodule "helix-syntax/languages/tree-sitter-dockerfile"]
path = helix-syntax/languages/tree-sitter-dockerfile
url = https://github.com/camdencheek/tree-sitter-dockerfile.git
shallow = true
shallow = true
[submodule "helix-syntax/languages/tree-sitter-fish"]
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
shallow = true

@ -11,6 +11,7 @@
| dockerfile | ✓ | | | `docker-langserver` |
| elixir | ✓ | | | `elixir-ls` |
| fish | ✓ | ✓ | ✓ | |
| gitcommit | ✓ | | | |
| glsl | ✓ | | ✓ | |
| go | ✓ | ✓ | ✓ | `gopls` |
| html | ✓ | | | |

@ -0,0 +1 @@
Subproject commit 6a2ddbecd49fa8e7e1fda24d43e363cfd9171ca0

@ -473,3 +473,11 @@ file-types = ["Dockerfile", "dockerfile"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-server = { command = "docker-langserver", args = ["--stdio"] }
[[language]]
name = "gitcommit"
scope = "git.commitmsg"
roots = []
file-types = ["COMMIT_EDITMSG"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }

Loading…
Cancel
Save