change cmp source path to async_path
This commit is contained in:
@ -47,10 +47,11 @@ cmp.setup {
|
|||||||
luasnip.lsp_expand(args.body)
|
luasnip.lsp_expand(args.body)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = 'nvim_lsp', keyword_length = 3 },
|
{ name = 'nvim_lsp', keyword_length = 3 },
|
||||||
{ name = 'luasnip', keyword_length = 3 },
|
{ name = 'luasnip', keyword_length = 3 },
|
||||||
{ name = 'path' },
|
{ name = 'async_path' },
|
||||||
{ name = 'buffer', keyword_length = 3, max_item_count = 7 },
|
{ name = 'buffer', keyword_length = 3, max_item_count = 7 },
|
||||||
{ name = 'calc' },
|
{ name = 'calc' },
|
||||||
{ name = 'neorg' },
|
{ name = 'neorg' },
|
||||||
|
@ -70,7 +70,7 @@ require 'dep' {
|
|||||||
{ 'hrsh7th/nvim-cmp',
|
{ 'hrsh7th/nvim-cmp',
|
||||||
deps = {
|
deps = {
|
||||||
'hrsh7th/cmp-buffer',
|
'hrsh7th/cmp-buffer',
|
||||||
'hrsh7th/cmp-path',
|
'FelipeLema/cmp-async-path',
|
||||||
'hrsh7th/cmp-calc',
|
'hrsh7th/cmp-calc',
|
||||||
'saadparwaiz1/cmp_luasnip',
|
'saadparwaiz1/cmp_luasnip',
|
||||||
'hrsh7th/cmp-nvim-lua',
|
'hrsh7th/cmp-nvim-lua',
|
||||||
|
Reference in New Issue
Block a user