chore(vim): add more cmp options

This commit is contained in:
Stefan Imhoff
2022-03-23 12:23:21 +01:00
parent bf262c0fdd
commit b08c56c72e

View File

@@ -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 {