Improve avoiding InsertEnter's invalid mode detection
This commit is contained in:
@@ -271,7 +271,7 @@ cmp.setup = setmetatable({
|
|||||||
})
|
})
|
||||||
|
|
||||||
autocmd.subscribe('InsertEnter', function()
|
autocmd.subscribe('InsertEnter', function()
|
||||||
feedkeys.call('', '', function()
|
feedkeys.call('', 'i', function()
|
||||||
if config.enabled() then
|
if config.enabled() then
|
||||||
cmp.core:prepare()
|
cmp.core:prepare()
|
||||||
cmp.core:on_change('InsertEnter')
|
cmp.core:on_change('InsertEnter')
|
||||||
|
|||||||
Reference in New Issue
Block a user