coc#add_extension
This commit is contained in:
parent
6374403d6c
commit
7660028ca4
|
@ -12,3 +12,4 @@ autoload/plug.vim
|
|||
.is-dev
|
||||
vimrc-config
|
||||
vimrc-overrides
|
||||
.vimtmp/
|
||||
|
|
|
@ -47,14 +47,9 @@
|
|||
"}}}
|
||||
" #coc.nvim{{{
|
||||
" https://github.com/neoclide/coc.nvim
|
||||
|
||||
" installed extensions:
|
||||
" coc-vetur
|
||||
" coc-python
|
||||
" coc-phpls
|
||||
" coc-json
|
||||
" coc-css
|
||||
" coc-eslint
|
||||
|
||||
" SEE BOTTOM OF VIMRC FOR coc#add_extension statement
|
||||
" for some reason fails when added some other places
|
||||
|
||||
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}}
|
||||
|
||||
|
@ -78,6 +73,7 @@
|
|||
command! -nargs=0 Format :call CocAction('format')
|
||||
command! -nargs=? Fold :call CocAction('fold', <f-args>)
|
||||
|
||||
|
||||
" }}}
|
||||
" #delimitMate{{{
|
||||
" https://github.com/Raimondi/delimitMate
|
||||
|
|
5
vimrc
5
vimrc
|
@ -16,6 +16,7 @@ if has('nvim')
|
|||
|
||||
call plug#begin('~/.vim/bundle')
|
||||
source ~/.config/vim/config/plugins.nvim.vim
|
||||
"
|
||||
else
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))"{{{
|
||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||
|
@ -823,5 +824,9 @@ iabbrev ct'' content-type: '';
|
|||
runtime vimrc-overrides
|
||||
"}}}
|
||||
|
||||
if has('nvim')
|
||||
" TODO - try 'coc-tsserver'
|
||||
call coc#add_extension( 'coc-vetur', 'coc-python', 'coc-phpls', 'coc-json', 'coc-css', 'coc-eslint', 'coc-vimlsp')
|
||||
endif
|
||||
|
||||
" vim: set foldmethod=marker:
|
||||
|
|
Loading…
Reference in New Issue