Fix error when airline is not loaded

This commit is contained in:
ViViDboarder 2015-03-24 11:29:18 -07:00
parent ff9d642517
commit b0451bc821
1 changed files with 6 additions and 2 deletions

View File

@ -3,13 +3,17 @@ if !exists("g:force_dispatch_background")
let g:force_dispatch_background = 0 let g:force_dispatch_background = 0
end end
if !exists('g:loaded_airline')
let g:force_disable_airline = 1
endif
if !exists("g:force_disable_airline") if !exists("g:force_disable_airline")
let g:force_disable_airline = 0 let g:force_disable_airline = 0
end endif
if !exists("g:force_status_line_func_added") if !exists("g:force_status_line_func_added")
let g:force_status_line_func_added = 0 let g:force_status_line_func_added = 0
end endif
" Config Variables } " Config Variables }
" Main Functions { " Main Functions {