commit 983953858e5610b104d35725c7da1e9025f60421 parent 688b961d13bd54a14836f08c3ded3121d3fb15a0 Author: Mathias Fußenegger <mfussenegger@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:34:54 +0200 fix(lsp): fix isIncomplete condition in completion trigger (#30130) Follow up to https://github.com/neovim/neovim/pull/30028#discussion_r1726539370 Diffstat:
| M | runtime/lua/vim/lsp/completion.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua @@ -410,7 +410,7 @@ local function trigger(bufnr, clients) reset_timer() 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 end