Skip to content

Commit 3003e3f

Browse files
ShashwatAgrawal20sfrick
authored andcommitted
feat(cmp): path completion feature (nvim-lua#536)
1 parent 1aa0b40 commit 3003e3f

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
@@ -105,6 +105,7 @@ require('lazy').setup({
105105

106106
-- Adds LSP completion capabilities
107107
'hrsh7th/cmp-nvim-lsp',
108+
'hrsh7th/cmp-path',
108109

109110
-- Adds a number of user-friendly snippets
110111
'rafamadriz/friendly-snippets',
@@ -656,6 +657,7 @@ cmp.setup {
656657
sources = {
657658
{ name = 'nvim_lsp' },
658659
{ name = 'luasnip' },
660+
{ name = 'path' },
659661
},
660662
}
661663

0 commit comments

Comments
 (0)