nvim: replaced ale/deoplete with coc
This commit is contained in:
parent
1dd279bf54
commit
67bc0e1560
|
@ -6,8 +6,7 @@ call plug#begin(stdpath('data') . '/plugged')
|
|||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
" Code analysis and autocompletion
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" Git
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
|
@ -51,4 +50,11 @@ inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
|||
"
|
||||
" 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…
Reference in New Issue