diff options
author | kylo252 <[email protected]> | 2021-11-10 11:14:32 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-11-10 11:14:32 +0100 |
commit | a57e34a85edc8fc15a5c06640a15b0a0fec89d91 (patch) | |
tree | 55abec722051caacacb4b15db9c69e9b6e4f3ec7 /lua/lvim/core/cmp.lua | |
parent | 3d146bd4e96d9fcb24aa0bbb2089219aa5b52fcb (diff) | |
parent | 605c14e49996f635234b1157a96580448deb1160 (diff) |
Merge branch 'rolling'
Diffstat (limited to 'lua/lvim/core/cmp.lua')
-rw-r--r-- | lua/lvim/core/cmp.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/lvim/core/cmp.lua b/lua/lvim/core/cmp.lua index 375f7605..89159ebb 100644 --- a/lua/lvim/core/cmp.lua +++ b/lua/lvim/core/cmp.lua @@ -283,6 +283,9 @@ M.config = function() ["<C-e>"] = cmp.mapping.abort(), ["<CR>"] = cmp.mapping(function(fallback) if cmp.visible() and cmp.confirm(lvim.builtin.cmp.confirm_opts) then + if jumpable() then + luasnip.jump(1) + end return end |