|
|
@ -269,26 +269,5 @@ require('litee.gh').setup({
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
local configs = require('lspconfig.configs')
|
|
|
|
|
|
|
|
local lspconfig = require('lspconfig')
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.helm_ls.setup {
|
|
|
|
|
|
|
|
filetypes = { "helm" },
|
|
|
|
|
|
|
|
cmd = { "helm_ls", "serve" },
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
|
|
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|
|
|
|