nvim: replaced ale/deoplete with coc
This commit is contained in:
parent
1dd279bf54
commit
67bc0e1560
1 changed files with 9 additions and 3 deletions
|
@ -6,8 +6,7 @@ call plug#begin(stdpath('data') . '/plugged')
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
|
|
||||||
" Code analysis and autocompletion
|
" Code analysis and autocompletion
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|
||||||
|
|
||||||
" Git
|
" Git
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
@ -52,3 +51,10 @@ inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||||
" UndoTree
|
" UndoTree
|
||||||
"
|
"
|
||||||
map <C-S-u> <Esc>:UndotreeToggle<CR>
|
map <C-S-u> <Esc>:UndotreeToggle<CR>
|
||||||
|
|
||||||
|
"
|
||||||
|
" Golang
|
||||||
|
"
|
||||||
|
" Auto imports on save/format
|
||||||
|
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue