mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-09-11 04:29:43 +00:00
feat(cmp): path completion feature (#536)
This commit is contained in:
parent
3824342d10
commit
76c5b1ec57
2
init.lua
2
init.lua
|
@ -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' },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user