Show unsaved changes in unfocused split

This fixes #38, and the 3 extra characters shouldn't be a problem for #35 (I hope).

I don't know much of anything about vim-script, so if you've got a better way of doing this go for it.
This commit is contained in:
Donald Plummer 2013-07-10 10:33:28 -07:00
parent 1bbae2b77d
commit 1cb7a420c8
1 changed files with 1 additions and 1 deletions

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').' '