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