Stay in insert mode when snippet is active
This commit is contained in:
parent
244c1929a3
commit
a96448db09
|
@ -24,7 +24,7 @@ return {
|
||||||
function(cmp)
|
function(cmp)
|
||||||
if cmp.is_visible() then
|
if cmp.is_visible() then
|
||||||
cmp.cancel()
|
cmp.cancel()
|
||||||
if cmp.get_selected_item_idx() ~= nil then
|
if cmp.get_selected_item_idx() ~= nil or cmp.snippet_active() then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user