mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 02:16:12 +08:00
Merge pull request #58 from dplummer/patch-1
Show unsaved changes in unfocused split
This commit is contained in:
commit
b445eabdec
|
@ -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').' '
|
||||||
|
|
Loading…
Reference in New Issue
Block a user