diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 3696804748950..54e4c5374740d 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -73,6 +73,7 @@ | haskell-persistent | ✓ | | | | | hcl | ✓ | ✓ | ✓ | `terraform-ls` | | heex | ✓ | ✓ | | `elixir-ls` | +| helm | ✓ | | | `helm_ls` | | hocon | ✓ | | ✓ | | | hoon | ✓ | | | | | hosts | ✓ | | | | diff --git a/languages.toml b/languages.toml index 1cf8da374234b..9dc357464fa49 100644 --- a/languages.toml +++ b/languages.toml @@ -96,6 +96,7 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] } zls = { command = "zls" } blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] } typst-lsp = { command = "typst-lsp" } +helm_ls = { command = "helm_ls", args = ["serve"] } [language-server.ansible-language-server] command = "ansible-language-server" @@ -3352,3 +3353,12 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "supercollider" source = { git = "https://github.com/madskjeldgaard/tree-sitter-supercollider", rev = "3b35bd0fded4423c8fb30e9585c7bacbcd0e8095" } + +[[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" } ] diff --git a/runtime/queries/helm/highlights.scm b/runtime/queries/helm/highlights.scm new file mode 100644 index 0000000000000..6ffb4b7d467b8 --- /dev/null +++ b/runtime/queries/helm/highlights.scm @@ -0,0 +1 @@ +; inherits: gotmpl diff --git a/runtime/queries/helm/injections.scm b/runtime/queries/helm/injections.scm new file mode 100644 index 0000000000000..6ffb4b7d467b8 --- /dev/null +++ b/runtime/queries/helm/injections.scm @@ -0,0 +1 @@ +; inherits: gotmpl