We should adopt InsertLeave event

This commit is contained in:
hrsh7th
2021-09-13 13:58:04 +09:00
parent e46ae3b62e
commit af73e87fd8

View File

@@ -142,9 +142,7 @@ autocmd.subscribe('TextChanged', function()
end)
autocmd.subscribe('InsertLeave', function()
if config.enabled() then
core.reset()
end
end)
return cmp