sync/scripts/youcompleteme.sh

21 lines
625 B
Bash
Raw Normal View History

2015-07-17 08:27:36 -04:00
#!/bin/zsh
echo "Make sure this is in your .vimrc"
echo "Plug 'https://github.com/Valloric/YouCompleteMe'"
echo -n "Press enter to continue..."
2015-08-26 12:11:28 -04:00
read a
2016-03-21 12:41:23 -04:00
rm -rf ~/ycm_build
2015-07-17 08:27:36 -04:00
mkdir ~/ycm_build
cd ~/ycm_build
2016-01-10 03:25:01 -05:00
touch .nobackup
2015-07-17 08:27:36 -04:00
cmake -G "Unix Makefiles" . ~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp
2016-03-21 12:41:23 -04:00
cmake --build . --target ycm_core
2016-03-29 17:12:47 -04:00
#cd ~/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/gocode
#go build
#cd ~/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/tern_runtime
#npm install --production
2015-07-17 08:27:36 -04:00
cd -
echo "It should be done."
echo -n "Running vim to test for errors. Press enter to continue..."
2015-08-26 12:11:28 -04:00
read a
2015-07-17 08:27:36 -04:00
vim +q