fix: provide LSP server name in setup function (#21)

This commit is contained in:
Andreas Gerlach
2023-01-07 19:38:47 +01:00
committed by GitHub
parent ce322b7042
commit 037d0e87b3

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,