Skip to content

Commit 3adae58

Browse files
ShashwatAgrawal20ValtteriV
authored andcommitted
feat(cmp): path completion feature (nvim-lua#536)
1 parent 8ebb646 commit 3adae58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ require('lazy').setup({
109109

110110
-- Adds LSP completion capabilities
111111
'hrsh7th/cmp-nvim-lsp',
112+
'hrsh7th/cmp-path',
112113

113114
-- Adds a number of user-friendly snippets
114115
},
@@ -511,6 +512,7 @@ cmp.setup {
511512
sources = {
512513
{ name = 'nvim_lsp' },
513514
{ name = 'luasnip' },
515+
{ name = 'path' },
514516
},
515517
}
516518

0 commit comments

Comments
 (0)