From ae25f6942e079238d0bfafb460a96ba47c42d479 Mon Sep 17 00:00:00 2001 From: skewb1k Date: Mon, 10 Nov 2025 06:10:41 +0300 Subject: [PATCH] revert: fix: vim.lsp.omnifunc should not throw away other items revert: fix: vim.lsp.omnifunc should not throw away other items #35346 This reverts commit 4e4428dee8275fb55a96dff3e29577e0ec683735. --- runtime/lua/vim/lsp/completion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua index d1193bfec8..01f6dc0cc6 100644 --- a/runtime/lua/vim/lsp/completion.lua +++ b/runtime/lua/vim/lsp/completion.lua @@ -503,7 +503,7 @@ local function trigger(bufnr, clients, ctx) return end - local matches --[[@type table]] = vim.fn.complete_info({ 'items' })['items'] + local matches = {} local server_start_boundary --- @type integer? for client_id, response in pairs(responses) do local client = lsp.get_client_by_id(client_id)