diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2024-08-26 17:34:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 17:34:54 +0200 |
commit | 983953858e5610b104d35725c7da1e9025f60421 (patch) | |
tree | 4f94b7d92a393f53325ed3dcc1805a313f3147d8 /runtime/lua/vim/lsp/completion.lua | |
parent | 688b961d13bd54a14836f08c3ded3121d3fb15a0 (diff) | |
download | rneovim-983953858e5610b104d35725c7da1e9025f60421.tar.gz rneovim-983953858e5610b104d35725c7da1e9025f60421.tar.bz2 rneovim-983953858e5610b104d35725c7da1e9025f60421.zip |
fix(lsp): fix isIncomplete condition in completion trigger (#30130)
Follow up to https://github.com/neovim/neovim/pull/30028#discussion_r1726539370
Diffstat (limited to 'runtime/lua/vim/lsp/completion.lua')
-rw-r--r-- | runtime/lua/vim/lsp/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua index 89d9a0e9b1..e28fec5e25 100644 --- 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 |