This commit is contained in:
hrsh7th
2022-05-04 02:57:43 +09:00
parent 5054c14490
commit e64421ef58

View File

@@ -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(