coc#add_extension

This commit is contained in:
ManjaroOne666 2019-08-17 14:12:35 +01:00
parent 6374403d6c
commit 7660028ca4
3 changed files with 10 additions and 8 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ autoload/plug.vim
.is-dev
vimrc-config
vimrc-overrides
.vimtmp/

View File

@ -48,13 +48,8 @@
" #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
View File

@ -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: