[nvim] Add COC

This commit is contained in:
2025-08-25 15:03:19 +02:00
parent f33b964601
commit 87e08e66d3

View File

@@ -13,6 +13,7 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'junegunn/fzf.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'kyazdani42/nvim-web-devicons' " requis pas bufferline
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Plug 'akinsho/bufferline.nvim'
" Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'}
call plug#end()
@@ -57,6 +58,8 @@ nnoremap <silent> <C-o> :Buffers<CR>
"nnoremap <C-n> :bn<CR>
"nnoremap <C-b> :bp<CR>
"COC Make Enter accept the autocomplete suggestion
inoremap <silent><expr> <CR> pumvisible() ? coc#_select_confirm() : "\<CR>"
set shiftwidth=4
set softtabstop=4