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

This commit is contained in:
Till Bungert
2025-10-11 21:42:14 +02:00
committed by GitHub
parent 9e66c0de69
commit 28157738e3

View File

@@ -502,7 +502,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)