mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-16 20:54:03 +02:00
fix: unexpected behavior when autocomplete = false
(#1920)
- https://github.com/hrsh7th/nvim-cmp/issues/1251 - https://github.com/hrsh7th/nvim-cmp/issues/1919
This commit is contained in:
parent
cd2cf0c124
commit
1d88772dc6
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ cmp.abort = cmp.sync(function()
|
|||
if cmp.core.view:visible() then
|
||||
local release = cmp.core:suspend()
|
||||
cmp.core.view:abort()
|
||||
cmp.core:reset()
|
||||
vim.schedule(release)
|
||||
return true
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue