|
|
|
@ -18,6 +18,20 @@ if has("unix") || has("mac") |
|
|
|
Plugin 'gmarik/Vundle.vim' |
|
|
|
map <F3> :VundleUpdate<CR> |
|
|
|
Plugin 'dag/vim-fish' |
|
|
|
if isdirectory(expand("$HOME/.vim/bundle/YouCompleteMe")) |
|
|
|
"[Workaround for YCM non-portability]" |
|
|
|
Plugin 'Valloric/YouCompleteMe' |
|
|
|
let g:ycm_global_ycm_extra_conf = expand("$HOME/.vim/ycm_global_conf.py") |
|
|
|
let g:ycm_extra_conf_vim_data =[ "&filetype" ] |
|
|
|
"[We're using ale for linting]" |
|
|
|
let g:ycm_show_diagnostics_ui = 0 |
|
|
|
let g:ycm_collect_identifiers_from_tags_files=1 |
|
|
|
let g:ycm_seed_identifiers_with_syntax=1 |
|
|
|
let g:ycm_show_diagnostics_ui = 0 |
|
|
|
let g:ycm_use_ultisnips_completer = 0 |
|
|
|
else |
|
|
|
Plugin 'AutoComplPop' |
|
|
|
endif |
|
|
|
Plugin 'w0rp/ale' |
|
|
|
let g:ale_linters = { |
|
|
|
\ 'cpp': ['g++'], |
|
|
|
|