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 c02afa6bbe
commit 97c6ac262e
Signed by: igor
GPG Key ID: 692D97C3D0228A99
3 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,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.