1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add YouCompleteMe vim fix and vim-setup script

This commit is contained in:
Joe Groocock 2016-04-04 03:51:34 +01:00
parent f5e8b0a3ac
commit e99e0e91ed
2 changed files with 18 additions and 0 deletions

3
.vimrc
View File

@ -26,6 +26,9 @@ Plugin 'vim-airline/vim-airline-themes'
call vundle#end() call vundle#end()
" YouCompleteMe python fix
let g:ycm_server_python_interpreter = '/usr/bin/python3'
" Vim-Airline config " Vim-Airline config
let g:Powerline_symbols = 'fancy' let g:Powerline_symbols = 'fancy'
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1

15
scripts/vim-setup Executable file
View File

@ -0,0 +1,15 @@
YCM=~/.vim/bundle/YouCompleteMe
#######################
## Initialise Vundle ##
#######################
mkdir -p ~/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
#########################
## Setup YouCompleteMe ##
#########################
cd "$YCM"
./install.py --clang-completer --omnisharp-completer --tern-completer # requires cmake, mono and nodejs, npm