From 3c1d572ce73f6dc4ef119aef5f4cbdf31c03c635 Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Sun, 8 Dec 2024 01:47:01 -0600 Subject: [PATCH] snip --- vim/.vim/lua/plugins/cmp.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vim/.vim/lua/plugins/cmp.lua b/vim/.vim/lua/plugins/cmp.lua index 49e88cf..2ac5225 100644 --- a/vim/.vim/lua/plugins/cmp.lua +++ b/vim/.vim/lua/plugins/cmp.lua @@ -41,8 +41,6 @@ return { vim.opt.completeopt = { "menu", "menuone", "noselect" } local cmp = require("cmp") - local luasnip = require("luasnip") - local compare = cmp.config.compare local conditionalSources = {} @@ -169,8 +167,6 @@ return { [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() - elseif luasnip.locally_jumpable(1) then - luasnip.jump(1) else fallback() end @@ -178,8 +174,6 @@ return { [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() - elseif luasnip.locally_jumpable(-1) then - luasnip.jump(-1) else fallback() end