From 3af32d336f5858bc2f11a7123a497395104bf64f Mon Sep 17 00:00:00 2001 From: listout Date: Mon, 28 Nov 2022 12:13:27 +0530 Subject: Revert "main: cmp.lua: add omni symbol in formatting and completion under formatting" This reverts commit 65c17050acbb228e6e34f6b889311be0f886e46e. --- lua/plugins/cmp.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lua/plugins') diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index e32387e..2f901c1 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -51,15 +51,10 @@ cmp.setup { luasnip = "[LuaSnip]", nvim_lua = "[Lua]", latex_symbols = "[LaTeX]", - omni = "[Omni]", })[entry.source.name] return vim_item end }, - completion = { - keyword_length = 1, - completeopt = "menu,noselect" - }, snippet = { expand = function(args) require('luasnip').lsp_expand(args.body) -- For `luasnip` users. @@ -99,9 +94,8 @@ cmp.setup { end, { 'i', 's' }), }), sources = cmp.config.sources({ - { name = 'omni'}, { name = 'luasnip', option = { use_show_condition = false } }, - { name = 'nvim_lsp', }, + { name = 'nvim_lsp' }, { name = 'nvim_lsp_signature_help' }, { name = 'path' }, { name = 'buffer' }, -- cgit v1.2.3