diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua index 01f6dc0cc6..d1193bfec8 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 = {} + 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)