feat(lang): add support for helm chart templates

This commit is contained in:
Peter Benjamin 2023-12-29 13:07:07 -08:00
parent 879e29504d
commit e9691ef300
No known key found for this signature in database

View file

@ -0,0 +1,22 @@
require("lazyvim.util.lsp").on_attach(function(client, buffer)
if client.name == "docker_compose_language_service" then
if vim.api.nvim_buf_get_option(buffer, "filetype") == "helm" then
vim.schedule(function()
vim.cmd("LspStop ++force docker_compose_language_service")
end)
end
end
end)
return {
"towolf/vim-helm",
{
"neovim/nvim-lspconfig",
opts = {
servers = {
docker_compose_language_service = {},
helm_ls = {},
},
},
},
}