Add path source for completion

This commit is contained in:
Yorick Barbanneau 2022-08-07 01:04:37 +02:00
parent 7fc6b33625
commit 962e06b0d7
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,8 @@ require "paq" {
-- autocompletion plugin
'hrsh7th/nvim-cmp';
'hrsh7th/cmp-nvim-lsp';
'hrsh7th/cmp-nvim-lsp'; -- LSP source
'hrsh7th/cmp-path'; -- path source
-- vim lint when it is not possible withlsp
'mfussenegger/nvim-lint';

View file

@ -67,5 +67,6 @@ cmp.setup {
},
sources = {
{ name = 'nvim_lsp' },
{ name = 'path' },
},
}