From b08c56c72e3772f1e559847c01def5ee0b4978d0 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Wed, 23 Mar 2022 12:23:21 +0100 Subject: [PATCH] chore(vim): add more cmp options --- nvim/plugin-config/cmp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/plugin-config/cmp.lua b/nvim/plugin-config/cmp.lua index 1c2b5ad..e32a7b8 100644 --- a/nvim/plugin-config/cmp.lua +++ b/nvim/plugin-config/cmp.lua @@ -28,10 +28,12 @@ cmp.setup({ }, sources = { { name = 'nvim_lsp' }, + { name = 'ultisnips' }, + { name = 'nvim_lua' }, { name = 'path' }, + { name = 'omni' }, { name = 'buffer', keyword_length = 3 }, { name = 'npm', keyword_length = 4 }, - { name = 'ultisnips' }, }, formatting = { format = require('lspkind').cmp_format {