add helm-ls

This commit is contained in:
2024-07-30 14:49:43 +03:00
parent d91c167d6e
commit 69067d5410
2 changed files with 13 additions and 2 deletions

View File

@@ -37,5 +37,6 @@
"undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }, "undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" },
"vim-be-good": { "branch": "master", "commit": "4fa57b7957715c91326fcead58c1fa898b9b3625" }, "vim-be-good": { "branch": "master", "commit": "4fa57b7957715c91326fcead58c1fa898b9b3625" },
"vim-fugitive": { "branch": "master", "commit": "d0c1a437536778bcc8174b7cb2ffdf98f611e6fe" }, "vim-fugitive": { "branch": "master", "commit": "d0c1a437536778bcc8174b7cb2ffdf98f611e6fe" },
"vim-gitgutter": { "branch": "main", "commit": "e801371917e52805a4ceb1e93f55ed1fba712f82" } "vim-gitgutter": { "branch": "main", "commit": "e801371917e52805a4ceb1e93f55ed1fba712f82" },
"vim-helm": { "branch": "master", "commit": "ae1ebc160d2b9b90108477ab10df7a4fc501e358" }
} }

View File

@@ -13,6 +13,7 @@ return {
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
"j-hui/fidget.nvim", "j-hui/fidget.nvim",
"rafamadriz/friendly-snippets", "rafamadriz/friendly-snippets",
{ 'towolf/vim-helm', ft = 'helm' },
}, },
config = function() config = function()
@@ -29,7 +30,7 @@ return {
require('mason-lspconfig').setup({ require('mason-lspconfig').setup({
-- Replace the language servers listed here -- Replace the language servers listed here
-- with the ones you want to install -- with the ones you want to install
ensure_installed = { 'tsserver', 'lua_ls', 'gopls', 'pylsp', 'gitlab_ci_ls', 'yamlls', 'ansiblels', 'terraformls' }, ensure_installed = { 'tsserver', 'lua_ls', 'gopls', 'pylsp', 'gitlab_ci_ls', 'yamlls', 'ansiblels', 'terraformls', 'helm_ls' },
handlers = { handlers = {
function(server_name) function(server_name)
require('lspconfig')[server_name].setup({}) require('lspconfig')[server_name].setup({})
@@ -137,6 +138,15 @@ return {
Lua = {} Lua = {}
} }
} }
lspconfig.helm_ls.setup {
settings = {
['helm-ls'] = {
yamlls = {
path = "yaml-language-server",
}
}
}
}
end end
} }