mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user