commit 28157738e3de7675a7527f6e4e3fb01e6d30e1bf
parent 9e66c0de69e41609f96f413cc13f0a9f078c3282
Author: Till Bungert <tillbungert@gmail.com>
Date: Sat, 11 Oct 2025 21:42:14 +0200
fix: vim.lsp.omnifunc should not throw away other items #35346
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua
@@ -502,7 +502,7 @@ local function trigger(bufnr, clients, ctx)
return
end
- local matches = {}
+ local matches --[[@type table]] = vim.fn.complete_info({ 'items' })['items']
local server_start_boundary --- @type integer?
for client_id, response in pairs(responses) do
local client = lsp.get_client_by_id(client_id)