|
|
@ -252,14 +252,11 @@ return { |
|
|
|
run_on_start = false, |
|
|
|
}) |
|
|
|
|
|
|
|
require("mason-lspconfig").setup({ |
|
|
|
handlers = { |
|
|
|
function(server_name) |
|
|
|
local server = servers[server_name] or {} |
|
|
|
server.capabilities = vim.tbl_deep_extend("force", {}, capabilities, server.capabilities or {}) |
|
|
|
require("lspconfig")[server_name].setup(server) |
|
|
|
end, |
|
|
|
}, |
|
|
|
}) |
|
|
|
require("mason-lspconfig").setup() |
|
|
|
|
|
|
|
for server_name, server in pairs(servers) do |
|
|
|
server.capabilities = vim.tbl_deep_extend("force", {}, capabilities, server.capabilities or {}) |
|
|
|
require("lspconfig")[server_name].setup(server) |
|
|
|
end |
|
|
|
end, |
|
|
|
} |