new call to lspconfig
This commit is contained in:
@@ -130,7 +130,7 @@ end
|
|||||||
|
|
||||||
-- Iterate over our servers and set them up
|
-- Iterate over our servers and set them up
|
||||||
for name, config in pairs(servers) do
|
for name, config in pairs(servers) do
|
||||||
require("lspconfig")[name].setup({
|
vim.lsp.config(name,{
|
||||||
capabilities = default_capabilities,
|
capabilities = default_capabilities,
|
||||||
filetypes = config.filetypes,
|
filetypes = config.filetypes,
|
||||||
handlers = vim.tbl_deep_extend("force", {}, default_handlers, config.handlers or {}),
|
handlers = vim.tbl_deep_extend("force", {}, default_handlers, config.handlers or {}),
|
||||||
|
|||||||
Reference in New Issue
Block a user