Fix #960
This commit is contained in:
@@ -309,10 +309,8 @@ autocmd.subscribe(
|
|||||||
|
|
||||||
-- 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' }, function()
|
||||||
if config.enabled() then
|
|
||||||
cmp.core:reset()
|
cmp.core:reset()
|
||||||
cmp.core.view:close()
|
cmp.core.view:close()
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
autocmd.subscribe(
|
autocmd.subscribe(
|
||||||
|
|||||||
Reference in New Issue
Block a user