Add path source for completion
This commit is contained in:
parent
7fc6b33625
commit
962e06b0d7
2 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,8 @@ require "paq" {
|
||||||
|
|
||||||
-- autocompletion plugin
|
-- autocompletion plugin
|
||||||
'hrsh7th/nvim-cmp';
|
'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
|
-- vim lint when it is not possible withlsp
|
||||||
'mfussenegger/nvim-lint';
|
'mfussenegger/nvim-lint';
|
||||||
|
|
|
@ -67,5 +67,6 @@ cmp.setup {
|
||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'path' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue