change cmp source path to async_path

This commit is contained in:
2023-06-26 11:20:03 -04:00
parent b9a2b3e8db
commit 43ec1b0a3a
2 changed files with 3 additions and 2 deletions

View File

@ -47,10 +47,11 @@ cmp.setup {
luasnip.lsp_expand(args.body)
end,
},
sources = cmp.config.sources({
{ name = 'nvim_lsp', keyword_length = 3 },
{ name = 'luasnip', keyword_length = 3 },
{ name = 'path' },
{ name = 'async_path' },
{ name = 'buffer', keyword_length = 3, max_item_count = 7 },
{ name = 'calc' },
{ name = 'neorg' },