mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-10 05:22:21 +08:00
only init ycm extension, when YCM is available
This commit is contained in:
@@ -138,7 +138,9 @@ function! airline#extensions#load()
|
||||
call airline#extensions#netrw#init(s:ext)
|
||||
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)
|
||||
let g:vimfiler_force_overwrite_statusline = 0
|
||||
|
||||
Reference in New Issue
Block a user