Add helm LSP
This commit is contained in:
13
nvim/lsp/helmls.lua
Normal file
13
nvim/lsp/helmls.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/helm_ls.lua
|
||||||
|
return {
|
||||||
|
cmd = { "helm_ls", "serve" },
|
||||||
|
filetypes = { "helm", "yaml.helm-values" },
|
||||||
|
root_markers = { "Chart.yaml" },
|
||||||
|
capabilities = {
|
||||||
|
workspace = {
|
||||||
|
didChangeWatchedFiles = {
|
||||||
|
dynamicRegistration = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
vim.lsp.enable({
|
vim.lsp.enable({
|
||||||
"dockerls",
|
"dockerls",
|
||||||
"gitlabcils",
|
"gitlabcils",
|
||||||
|
"helmls",
|
||||||
"luals",
|
"luals",
|
||||||
"terraformls",
|
"terraformls",
|
||||||
"yamlls"
|
"yamlls",
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
|
|||||||
8
nvim/lua/plugins/helm-ls.lua
Normal file
8
nvim/lua/plugins/helm-ls.lua
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
-- https://github.com/qvalentin/helm-ls.nvim
|
||||||
|
return {
|
||||||
|
"qvalentin/helm-ls.nvim",
|
||||||
|
ft = "helm",
|
||||||
|
opts = {
|
||||||
|
-- leave empty or see below
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -23,6 +23,7 @@ return {
|
|||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"docker-language-server", -- https://github.com/docker/docker-language-server
|
"docker-language-server", -- https://github.com/docker/docker-language-server
|
||||||
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
|
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
|
||||||
|
"helm-ls", -- https://github.com/mrjosh/helm-ls
|
||||||
"lua-language-server", -- https://github.com/luals/lua-language-server
|
"lua-language-server", -- https://github.com/luals/lua-language-server
|
||||||
"prettier", -- https://github.com/prettier/prettier
|
"prettier", -- https://github.com/prettier/prettier
|
||||||
"prettierd", -- https://github.com/prettier/prettier
|
"prettierd", -- https://github.com/prettier/prettier
|
||||||
|
|||||||
Reference in New Issue
Block a user