feat(cmp): path completion feature

This commit is contained in:
Shashwat Agrawal 2023-12-08 09:40:07 +05:30
parent 3824342d10
commit fcd886f315
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ require('lazy').setup({
-- Adds LSP completion capabilities
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',
-- Adds a number of user-friendly snippets
'rafamadriz/friendly-snippets',
@ -652,6 +653,7 @@ cmp.setup {
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'path' },
},
}