fix: provide LSP server name in setup function

This commit is contained in:
Andreas Gerlach 2023-01-07 19:37:55 +01:00
parent ce322b7042
commit 4c3d995463
No known key found for this signature in database
GPG key ID: 4DE630969786BD19

View file

@ -61,7 +61,7 @@ return {
function(server)
local opts = servers[server] or {}
opts.capabilities = capabilities
if not plugin.setup_server(opts) then
if not plugin.setup_server(server, opts) then
require("lspconfig")[server].setup(opts)
end
end,