newer helm ftdetect plugin, remove old workaround

This commit is contained in:
Luca Bilke 2025-01-07 16:43:55 +01:00
parent c1319cb7ac
commit add1caeec2
No known key found for this signature in database
GPG key ID: F6E11C9BAA7C82F5

View file

@ -6,7 +6,8 @@ return {
}) })
end, end,
{ "towolf/vim-helm", ft = "helm" }, { "qvalentin/helm-ls.nvim", ft = "helm" },
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "helm" } }, opts = { ensure_installed = { "helm" } },
@ -18,17 +19,6 @@ return {
servers = { servers = {
helm_ls = {}, helm_ls = {},
}, },
setup = {
yamlls = function()
LazyVim.lsp.on_attach(function(client, buffer)
if vim.bo[buffer].filetype == "helm" then
vim.schedule(function()
vim.cmd("LspStop ++force yamlls")
end)
end
end, "yamlls")
end,
},
}, },
}, },
} }