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 4e4428dee8.
This commit is contained in:
skewb1k
2025-11-10 06:10:41 +03:00
committed by GitHub
parent b92e92b20d
commit ae25f6942e

View File

@@ -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)