New Syntastic API forces us to select YCM
Previously, Syntastic would pick YCM as the default checker if YCM was installed. The new Syntastic API does not do this. I don't know is this a bug or not (talking to upstream), but until it's resolved, YCM has to force the use of itself.
This commit is contained in:
parent
f671fe72b2
commit
f3cfc05608
@ -58,6 +58,12 @@ function! youcompleteme#Enable()
|
|||||||
set ut=2000
|
set ut=2000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Needed so that YCM is used as the syntastic checker
|
||||||
|
let g:syntastic_cpp_checkers = ['ycm']
|
||||||
|
let g:syntastic_c_checkers = ['ycm']
|
||||||
|
let g:syntastic_objc_checkers = ['ycm']
|
||||||
|
let g:syntastic_objcpp_checkers = ['ycm']
|
||||||
|
|
||||||
" With this command, when the completion window is visible, the tab key
|
" With this command, when the completion window is visible, the tab key
|
||||||
" (default) will select the next candidate in the window. In vim, this also
|
" (default) will select the next candidate in the window. In vim, this also
|
||||||
" changes the typed-in text to that of the candidate completion.
|
" changes the typed-in text to that of the candidate completion.
|
||||||
|
Loading…
Reference in New Issue
Block a user