Stay in insert mode when snippet is active
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user