aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/helm_ls.lua
diff options
context:
space:
mode:
authorqvalentin <36446499+qvalentin@users.noreply.github.com>2025-06-01 20:31:19 +0200
committerGitHub <noreply@github.com>2025-06-01 11:31:19 -0700
commitc30a661a1f4c270f542eaf861f3eb726bb9baa69 (patch)
tree3c1def486d15912eee47bb17e01b8d496e8f923f /lsp/helm_ls.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar.gz
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar.bz2
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar.lz
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar.xz
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.tar.zst
nvim-lspconfig-c30a661a1f4c270f542eaf861f3eb726bb9baa69.zip
feat(helm_ls,yamlls): support custom filetype for helm-ls #3881
this adds config for starting helm_ls and yamlls with the new filetype yaml.helm-values that will be added to the neovim helm_ls extension by https://github.com/qvalentin/helm-ls.nvim/pull/8 Files of this type should have both yamlls and helm-ls running. This is required because helm-ls now supports editing values.yaml files but should only be active for certain yaml files.
Diffstat (limited to 'lsp/helm_ls.lua')
-rw-r--r--lsp/helm_ls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/helm_ls.lua b/lsp/helm_ls.lua
index 39c574bd..9c92fa0e 100644
--- a/lsp/helm_ls.lua
+++ b/lsp/helm_ls.lua
@@ -11,7 +11,7 @@
--- If need Helm file highlight use [vim-helm](https://github.com/towolf/vim-helm) plugin.
return {
cmd = { 'helm_ls', 'serve' },
- filetypes = { 'helm' },
+ filetypes = { 'helm', 'yaml.helm-values' },
root_markers = { 'Chart.yaml' },
capabilities = {
workspace = {