From 1cb7a420c8d1ba33005e3bf4d46d147b77a4636e Mon Sep 17 00:00:00 2001 From: Donald Plummer Date: Wed, 10 Jul 2013 10:33:28 -0700 Subject: [PATCH] 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. --- autoload/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline.vim b/autoload/airline.vim index 37bc6d50..5c06f70c 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -117,7 +117,7 @@ function! airline#update_statusline(active) \ ? s:get_section('gutter') \ : '%#warningmsg#'.g:airline_externals_syntastic.l:file_flag_color."%{&ro ? g:airline_readonly_symbol : ''}".l:status_color else - let sl.=' %f' + let sl.=' %f%m' endif if !exists('w:airline_left_only') let sl.='%= '.s:get_section('x').' '