Created
February 9, 2016 21:56
-
-
Save ehzawad/a052d08c1fcaf2063614 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin() | |
Plug 'tpope/vim-sensible' | |
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer' } | |
function! BuildYCM(info) | |
if a:info.status == 'installed' || a:info.force | |
!./install.sh --clang-completer | |
endif | |
endfunction | |
Plug 'Valloric/YouCompleteMe', { 'do': function('BuildYCM') } | |
call plug#end() | |
" function! BuildTern(info) | |
" if a:info.status == 'installed' || a:info.force | |
" !npm install | |
" endif | |
" endfunction | |
" Plug 'marijnh/tern_for_vim', { 'do': function('BuildTern') } | |
" function! Installjshint(info) | |
" if a:info.status == 'installed' || a:info.force | |
" !npm install -g jshint | |
" endif | |
" endfunction | |
" Plug 'scrooloose/syntastic', { 'do': function('Installjshint') } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment