From a3690ed8ca90823787fbaddb72f0a1874f1e999d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 17 Nov 2021 22:24:43 +0100 Subject: Add lunarvim update to lsp/general --- .config/nvim/lua/core/cmp.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/nvim/lua/core/cmp.lua') 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() [""] = cmp.mapping.abort(), [""] = 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 -- cgit v1.2.3-70-g09d2