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>
iGor milhit 2023-06-22 15:30:23 +02:00
parent c2fdfafae4
commit 4604bf5925
Signed by: igor
GPG Key ID: 692D97C3D0228A99
3 changed files with 6 additions and 0 deletions

View File

@ -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' },
},

View File

@ -4,3 +4,5 @@ Séverine
HEG
neovim
lua
InfoBiblio
Réaménagement

Binary file not shown.