mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
fix(lsp): fix isIncomplete condition in completion trigger (#30130)
Follow up to https://github.com/neovim/neovim/pull/30028#discussion_r1726539370
This commit is contained in:

committed by
GitHub

parent
688b961d13
commit
983953858e
@@ -410,7 +410,7 @@ local function trigger(bufnr, clients)
|
|||||||
reset_timer()
|
reset_timer()
|
||||||
Context:cancel_pending()
|
Context:cancel_pending()
|
||||||
|
|
||||||
if tonumber(vim.fn.pumvisible()) == 1 and Context.isIncomplete then
|
if tonumber(vim.fn.pumvisible()) == 1 and not Context.isIncomplete then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user