Merge pull request #58 from dplummer/patch-1

Show unsaved changes in unfocused split
This commit is contained in:
Bailey Ling 2013-07-10 10:48:54 -07:00
commit b445eabdec

View File

@ -117,7 +117,7 @@ function! airline#update_statusline(active)
\ ? s:get_section('gutter') \ ? s:get_section('gutter')
\ : '%#warningmsg#'.g:airline_externals_syntastic.l:file_flag_color."%{&ro ? g:airline_readonly_symbol : ''}".l:status_color \ : '%#warningmsg#'.g:airline_externals_syntastic.l:file_flag_color."%{&ro ? g:airline_readonly_symbol : ''}".l:status_color
else else
let sl.=' %f' let sl.=' %f%m'
endif endif
if !exists('w:airline_left_only') if !exists('w:airline_left_only')
let sl.='%= '.s:get_section('x').' ' let sl.='%= '.s:get_section('x').' '