diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-17 22:24:43 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-11-17 22:24:43 +0100 |
commit | a3690ed8ca90823787fbaddb72f0a1874f1e999d (patch) | |
tree | 1b79521fdf10c133aa643e6b2e46522ab6b79097 /.config/nvim/lua/core/cmp.lua | |
parent | e953e2ee53503dcf070a7763743e4a76abb4518d (diff) |
Add lunarvim update to lsp/general
Diffstat (limited to '.config/nvim/lua/core/cmp.lua')
-rw-r--r-- | .config/nvim/lua/core/cmp.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/core/cmp.lua b/.config/nvim/lua/core/cmp.lua index 36d85fb..fe4119f 100644 --- a/.config/nvim/lua/core/cmp.lua +++ b/.config/nvim/lua/core/cmp.lua @@ -284,6 +284,9 @@ M.config = function() ["<C-e>"] = cmp.mapping.abort(), ["<CR>"] = cmp.mapping(function(fallback) if cmp.visible() and cmp.confirm(options.builtin.cmp.confirm_opts) then + if jumpable() then + luasnip.jump(1) + end return end |