lspconfig: fix deprecated method

This commit is contained in:
t0xa 2025-10-03 20:18:17 +03:00
parent 6174a9dcbc
commit fd33cb2846

View file

@ -1,5 +1,3 @@
local lspconfig = require("lspconfig")
local keymap = vim.keymap
local capabilities = nil
@ -147,7 +145,7 @@ for name, config in pairs(servers) do
capabilities = capabilities,
}, config)
lspconfig[name].setup(config)
vim.lsp.config[name] = config
end
-- Here it is used the LSP server attaches to file