From d403e4ef204485595f8866a6bf64aa2311fd0b49 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 14 Apr 2022 22:05:20 +0100 Subject: Fixes aster latest CMP update See: https://github.com/hrsh7th/nvim-cmp/issues/231 --- cmp.vim | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/cmp.vim b/cmp.vim index e720e65..4f8db13 100644 --- a/cmp.vim +++ b/cmp.vim @@ -8,29 +8,13 @@ lua <'] = cmp.mapping.confirm({ select = true }), - }, + }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, { name = 'vsnip' }, }) }) - - -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore). - cmp.setup.cmdline('/', { - sources = { - { name = 'buffer' } - } - }) - - -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). - cmp.setup.cmdline(':', { - sources = cmp.config.sources({ - { name = 'path' } - }, { - { name = 'cmdline' } - }) - }) EOF -- cgit v1.2.3