mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-08-17 12:00:22 +03:00
add gitcommit grammar and language configuration
This commit is contained in:
parent
4b0b1a5657
commit
fd31662b70
6
.gitmodules
vendored
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 | ✓ | | | |
|
||||
|
1
helix-syntax/languages/tree-sitter-gitcommit
Submodule
1
helix-syntax/languages/tree-sitter-gitcommit
Submodule
@ -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…
Reference in New Issue
Block a user