From c71e582d91860cacc962a64a8d06db4caa9c389d Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sat, 23 Dec 2023 00:10:19 +0100 Subject: [PATCH] [cmp] Disable snippets --- lua/plugins/cmp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index ec64c57..d1e040f 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -96,8 +96,8 @@ local function setup() function (fallback) if cmp.visible() then cmp.select_next_item() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() + -- elseif luasnip.expand_or_jumpable() then + -- luasnip.expand_or_jump() elseif has_words_before() then cmp.complete() else @@ -119,7 +119,7 @@ local function setup() }, sources = { { name = "nvim_lsp", }, - { name = "luasnip", }, + -- { name = "luasnip", }, { name = "nvim_lua", }, { name = "orgmode", }, { name = "path", },