Skip to content

Commit

Permalink
feat: add suport for helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Mar 19, 2024
1 parent 3d4889c commit 1006053
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
| haskell-persistent || | | |
| hcl |||| `terraform-ls` |
| heex ||| | `elixir-ls` |
| helm || | | `helm_ls` |
| hocon || || |
| hoon || | | |
| hosts || | | |
Expand Down
10 changes: 10 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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" } ]
1 change: 1 addition & 0 deletions runtime/queries/helm/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: gotmpl
1 change: 1 addition & 0 deletions runtime/queries/helm/injections.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; inherits: gotmpl

0 comments on commit 1006053

Please sign in to comment.