Add cmp-aync-path and cmp-buffer

This commit is contained in:
Mohammad Moosazadeh 2024-06-01 13:16:09 -04:00
parent 729461686b
commit 15dd229ce8
1 changed files with 4 additions and 2 deletions

View File

@ -699,7 +699,8 @@ require('lazy').setup({
-- nvim-cmp does not ship with all sources by default. They are split -- nvim-cmp does not ship with all sources by default. They are split
-- into multiple repos for maintenance purposes. -- into multiple repos for maintenance purposes.
'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path', 'FelipeLema/cmp-async-path',
'hrsh7th/cmp-buffer',
}, },
config = function() config = function()
-- See `:help cmp` -- See `:help cmp`
@ -770,7 +771,8 @@ require('lazy').setup({
sources = { sources = {
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'path' }, { name = 'async_path' },
{ name = 'buffer' },
}, },
} }
end, end,