From 4574c8e1e7b05fe5cda9d522ef765cc2f34f35e6 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 21 Jan 2022 16:59:25 +0100 Subject: [PATCH] chore: disable snippet in cmp --- nvim/plugin-config/cmp.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvim/plugin-config/cmp.lua b/nvim/plugin-config/cmp.lua index 85043a1..8763990 100644 --- a/nvim/plugin-config/cmp.lua +++ b/nvim/plugin-config/cmp.lua @@ -6,11 +6,11 @@ if (not status) then return end cmp.setup({ auto_select = false, - snippet = { - expand = function(args) - vim.fn["UltiSnips#Anon"](args.body) - end - }, + -- snippet = { + -- expand = function(args) + -- vim.fn["UltiSnips#Anon"](args.body) + -- end + -- }, mapping = { [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), @@ -29,7 +29,7 @@ cmp.setup({ sources = { { name = 'nvim_lsp' }, { name = 'path' }, - { name = 'ultisnips' }, + -- { name = 'ultisnips' }, { name = 'buffer', keyword_length = 5 }, { name = 'npm', keyword_length = 4 }, },