Fix completion menu showing over the cmd win (#1904)
Removed/regressed in 5054c14490
This commit is contained in:
@@ -379,7 +379,7 @@ autocmd.subscribe('CursorMovedI', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- If make this asynchronous, the completion menu will not close when the command output is displayed.
|
-- If make this asynchronous, the completion menu will not close when the command output is displayed.
|
||||||
autocmd.subscribe({ 'InsertLeave', 'CmdlineLeave' }, function()
|
autocmd.subscribe({ 'InsertLeave', 'CmdlineLeave', 'CmdwinEnter' }, function()
|
||||||
cmp.core:reset()
|
cmp.core:reset()
|
||||||
cmp.core.view:close()
|
cmp.core.view:close()
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user