dotfiles/modules/neovim/lua/lsp/helm-ls.lua

14 lines
337 B
Lua

local configs = require("lspconfig.configs")
local util = require("lspconfig.util")
if not configs.helm_ls then
configs.helm_ls = {
default_config = {
cmd = { "helm-ls", "serve" },
filetypes = { "helm" },
root_dir = function(fname)
return util.root_pattern("Chart.yaml")(fname)
end,
},
}
end