feat(cmp): path completion feature (#536)

This commit is contained in:
Shashwat Agrawal 2023-12-08 18:44:06 +05:30 committed by GitHub
parent 184ddbc8c4
commit 29d1021441
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' },
},
}