We should adopt InsertLeave event
This commit is contained in:
@@ -142,9 +142,7 @@ autocmd.subscribe('TextChanged', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
autocmd.subscribe('InsertLeave', function()
|
autocmd.subscribe('InsertLeave', function()
|
||||||
if config.enabled() then
|
core.reset()
|
||||||
core.reset()
|
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
return cmp
|
return cmp
|
||||||
|
|||||||
Reference in New Issue
Block a user