fix: vim.lsp.omnifunc should not throw away other items #35346

(cherry picked from commit 28157738e3)
This commit is contained in:
Till Bungert
2025-10-11 21:42:14 +02:00
committed by github-actions[bot]
parent 86b2c0f201
commit 4e4428dee8

View File

@@ -503,7 +503,7 @@ local function trigger(bufnr, clients, ctx)
return return
end end
local matches = {} local matches --[[@type table]] = vim.fn.complete_info({ 'items' })['items']
local server_start_boundary --- @type integer? local server_start_boundary --- @type integer?
for client_id, response in pairs(responses) do for client_id, response in pairs(responses) do
local client = lsp.get_client_by_id(client_id) local client = lsp.get_client_by_id(client_id)