mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
fix: provide LSP server name in setup function (#21)
This commit is contained in:
parent
ce322b7042
commit
037d0e87b3
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ return {
|
||||||
function(server)
|
function(server)
|
||||||
local opts = servers[server] or {}
|
local opts = servers[server] or {}
|
||||||
opts.capabilities = capabilities
|
opts.capabilities = capabilities
|
||||||
if not plugin.setup_server(opts) then
|
if not plugin.setup_server(server, opts) then
|
||||||
require("lspconfig")[server].setup(opts)
|
require("lspconfig")[server].setup(opts)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue