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

15 lines
337 B
Lua
Raw Normal View History

2023-02-11 02:36:46 +01:00
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