Don't use clang autocomplete

This commit is contained in:
Alex Yatskov 2016-05-21 15:46:10 -07:00
parent 9afd980c2c
commit ea561ec8a3
2 changed files with 8 additions and 7 deletions

View File

@ -846,13 +846,14 @@ function! s:names(...)
endfunction endfunction
function! s:check_ruby() function! s:check_ruby()
silent! ruby require 'thread'; VIM::command('let g:plug_ruby = 1') silent! ruby require 'thread'; VIM::command("let g:plug_ruby = '#{RUBY_VERSION}'")
if get(g:, 'plug_ruby', 0) if !exists('g:plug_ruby')
unlet g:plug_ruby
return 1
endif
redraw! redraw!
return s:warn('echom', 'Warning: Ruby interface is broken') return s:warn('echom', 'Warning: Ruby interface is broken')
endif
let ruby_version = split(g:plug_ruby, '\.')
unlet g:plug_ruby
return s:version_requirement(ruby_version, [1, 8, 7])
endfunction endfunction
function! s:update_impl(pull, force, args) abort function! s:update_impl(pull, force, args) abort

View File

@ -39,7 +39,7 @@ Plug 'https://github.com/vim-airline/vim-airline.git'
Plug 'https://github.com/vim-latex/vim-latex.git' Plug 'https://github.com/vim-latex/vim-latex.git'
if has('unix') if has('unix')
Plug 'https://github.com/Valloric/YouCompleteMe.git', { 'do': './install.sh --clang-completer' } Plug 'https://github.com/Valloric/YouCompleteMe.git', { 'do': './install.sh' }
Plug 'https://github.com/marijnh/tern_for_vim', { 'do': 'sudo npm install -g tern; npm install' } Plug 'https://github.com/marijnh/tern_for_vim', { 'do': 'sudo npm install -g tern; npm install' }
Plug 'https://github.com/scrooloose/syntastic.git', { 'do': 'sudo npm -g install eslint; sudo pip install --upgrade pyflakes' } Plug 'https://github.com/scrooloose/syntastic.git', { 'do': 'sudo npm -g install eslint; sudo pip install --upgrade pyflakes' }
endif endif