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