|
|
|
@ -72,6 +72,7 @@ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
|
|
|
|
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
|
|
|
|
|
Plug 'nvim-lua/plenary.nvim'
|
|
|
|
|
Plug 'nvim-telescope/telescope.nvim'
|
|
|
|
|
Plug 'kchmck/vim-coffee-script'
|
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
|
|
"**************************
|
|
|
|
@ -94,4 +95,11 @@ nmap <silent> gi <Plug>(coc-implementation)
|
|
|
|
|
nmap <silent> gr <Plug>(coc-references)
|
|
|
|
|
nmap <Leader>rn <Plug>(coc-rename)
|
|
|
|
|
|
|
|
|
|
"**************************
|
|
|
|
|
" Languages
|
|
|
|
|
|
|
|
|
|
" Go
|
|
|
|
|
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
|
|
|
|
|
|
|
|
|
|
" C/C++
|
|
|
|
|
autocmd BufWritePre *.h,*.hpp,*.c,*.cpp :call FormatBuffer()
|
|
|
|
|