[nvim] Add COC
This commit is contained in:
		| @@ -13,6 +13,7 @@ call plug#begin('~/.config/nvim/plugged') | |||||||
|     Plug 'junegunn/fzf.vim' |     Plug 'junegunn/fzf.vim' | ||||||
|     Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } |     Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | ||||||
|     Plug 'kyazdani42/nvim-web-devicons' " requis pas bufferline |     Plug 'kyazdani42/nvim-web-devicons' " requis pas bufferline | ||||||
|  |     Plug 'neoclide/coc.nvim', {'branch': 'release'} | ||||||
| "    Plug 'akinsho/bufferline.nvim' | "    Plug 'akinsho/bufferline.nvim' | ||||||
| "    Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'} | "    Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'} | ||||||
| call plug#end() | call plug#end() | ||||||
| @@ -57,6 +58,8 @@ nnoremap <silent> <C-o> :Buffers<CR> | |||||||
| "nnoremap <C-n> :bn<CR> | "nnoremap <C-n> :bn<CR> | ||||||
| "nnoremap <C-b> :bp<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 shiftwidth=4 | ||||||
| set softtabstop=4 | set softtabstop=4 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user