only init ycm extension, when YCM is available
This commit is contained in:
parent
b7a74b1748
commit
90af4618f5
|
@ -138,7 +138,9 @@ function! airline#extensions#load()
|
||||||
call airline#extensions#netrw#init(s:ext)
|
call airline#extensions#netrw#init(s:ext)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call airline#extensions#ycm#init(s:ext)
|
if exists(':YcmDiag')
|
||||||
|
call airline#extensions#ycm#init(s:ext)
|
||||||
|
endif
|
||||||
|
|
||||||
if get(g:, 'loaded_vimfiler', 0)
|
if get(g:, 'loaded_vimfiler', 0)
|
||||||
let g:vimfiler_force_overwrite_statusline = 0
|
let g:vimfiler_force_overwrite_statusline = 0
|
||||||
|
|
Loading…
Reference in New Issue