completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with the help of `cmp-buffer`). - Expand the French dictionnary. Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
23af0da4fa
commit
784638e3b7
4
init.lua
4
init.lua
|
@ -105,6 +105,9 @@ require('lazy').setup({
|
|||
|
||||
-- Adds LSP completion capabilities
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
|
||||
-- Adds completion capabilities for text in buffers
|
||||
'hrsh7th/cmp-buffer',
|
||||
|
||||
-- Adds path completion capabilities
|
||||
'hrsh7th/cmp-path',
|
||||
|
@ -585,6 +588,7 @@ cmp.setup {
|
|||
},
|
||||
sources = {
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'path' },
|
||||
},
|
||||
|
|
|
@ -4,3 +4,5 @@ Séverine
|
|||
HEG
|
||||
neovim
|
||||
lua
|
||||
InfoBiblio
|
||||
Réaménagement
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue