feat: add suport for helm charts (#9900)

This commit is contained in:
Arthur Deierlein 2024-03-19 15:07:44 +01:00 committed by GitHub
parent 5b8bfc5476
commit 4b4947639a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 1 deletions

View File

@ -74,6 +74,7 @@
| haskell-persistent | ✓ | | | | | haskell-persistent | ✓ | | | |
| hcl | ✓ | ✓ | ✓ | `terraform-ls` | | hcl | ✓ | ✓ | ✓ | `terraform-ls` |
| heex | ✓ | ✓ | | `elixir-ls` | | heex | ✓ | ✓ | | `elixir-ls` |
| helm | ✓ | | | `helm_ls` |
| hocon | ✓ | | ✓ | | | hocon | ✓ | | ✓ | |
| hoon | ✓ | | | | | hoon | ✓ | | | |
| hosts | ✓ | | | | | hosts | ✓ | | | |

View File

@ -99,6 +99,7 @@ zls = { command = "zls" }
blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] } blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
typst-lsp = { command = "typst-lsp" } typst-lsp = { command = "typst-lsp" }
pkgbuild-language-server = { command = "pkgbuild-language-server" } pkgbuild-language-server = { command = "pkgbuild-language-server" }
helm_ls = { command = "helm_ls", args = ["serve"] }
[language-server.ansible-language-server] [language-server.ansible-language-server]
command = "ansible-language-server" command = "ansible-language-server"
@ -3380,4 +3381,13 @@ language-servers = [
{ except-features = [ { except-features = [
"diagnostics", "diagnostics",
], name = "bash-language-server" }, ], name = "bash-language-server" },
] ]
[[language]]
name = "helm"
grammar = "gotmpl"
scope = "source.helm"
roots = ["Chart.yaml"]
comment-token = "#"
language-servers = ["helm_ls"]
file-types = [ { glob = "templates/*.yaml" }, { glob = "templates/_helpers.tpl"}, { glob = "templates/NOTES.txt" } ]

View File

@ -0,0 +1 @@
; inherits: gotmpl

View File

@ -0,0 +1 @@
; inherits: gotmpl