mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(lsp): adapt recent changes in nvim-lspconfig
(#4348)
This commit is contained in:
parent
023fb27b32
commit
15dc529292
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ end
|
|||
-- manually start the server and don't wait for the usual filetype trigger from lspconfig
|
||||
local function buf_try_add(server_name, bufnr)
|
||||
bufnr = bufnr or vim.api.nvim_get_current_buf()
|
||||
require("lspconfig")[server_name].manager.try_add_wrapper(bufnr)
|
||||
require("lspconfig")[server_name].manager:try_add_wrapper(bufnr)
|
||||
end
|
||||
|
||||
-- check if the manager autocomd has already been configured since some servers can take a while to initialize
|
||||
|
|
Loading…
Reference in a new issue