Improve the codes for sumneko friendly

This commit is contained in:
hrsh7th
2022-05-13 19:25:00 +09:00
parent 6527e5f31b
commit 0318a3cbc1
8 changed files with 170 additions and 163 deletions

View File

@@ -307,7 +307,7 @@ autocmd.subscribe('CmdlineChanged', async.debounce_next_tick(on_text_changed))
autocmd.subscribe('CursorMovedI', function()
if config.enabled() then
cmp.core:on_moved()
else
else
cmp.core:reset()
cmp.core.view:close()
end