mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 16:18:54 +08:00
make warning a real section. references #136.
This commit is contained in:
1 parent
d20bdc54e5
commit
9dd682212f
3 files changed
+7
-5
No files matched your search
@@ -109,7 +109,7 @@ function! airline#get_statusline(winnr, active)
|
||||
|
||||
if a:active
|
||||
let sl.='%(%#Al2_to_warningmsg#'.g:airline_right_sep
|
||||
let sl.='%#warningmsg#'.s:getwinvar(a:winnr, 'airline_section_warning', '').'%)'
|
||||
let sl.='%#warningmsg#'.s:get_section(a:winnr, 'warning', '', '').'%)'
|
||||
endif
|
||||
endif
|
||||
return sl
|
||||
|
||||
Reference in new issue
Block a user