lspconfig: fix deprecated method
This commit is contained in:
parent
6174a9dcbc
commit
fd33cb2846
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue