Skip to content

Commit eee072d

Browse files
committed
fix(lsp_document_symbols): vim.pack in-mem LSP
fix #2654
1 parent 4deeecf commit eee072d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

lua/fzf-lua/providers/lsp.lua

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,7 @@ local function gen_lsp_contents(opts)
585585

586586
-- When called from another coroutine callback (when using 'finder') will err:
587587
-- E5560: nvim_exec_autocmds must not be called in a lua loop callback nil
588-
if vim.in_fast_event() then
589-
vim.schedule(function()
590-
async_buf_request()
591-
end)
592-
else
593-
async_buf_request()
594-
end
588+
vim.schedule(function() async_buf_request() end)
595589

596590
-- process results from all LSP client
597591
local err, result, context, lspcfg, done

0 commit comments

Comments
 (0)