fix(nvim): adapt to new lspconfig (partial)

This commit is contained in:
László Párkányi
2025-11-10 12:46:21 +01:00
parent 10a57a2c6b
commit 1400211d76

View File

@@ -4,9 +4,4 @@ local capabilities = require("nvchad.configs.lspconfig").capabilities
-- if you just want default config for the servers then put them in a table
local servers = { "hyprls", "lua-language-server", "clangd", "basedpyright", "vhdl_ls" }
for _, lsp in ipairs(servers) do
vim.lsp.config(lsp, {
on_attach = on_attach,
capabilities = capabilities,
})
end
vim.lsp.enable(servers)