allow warning section to be overwritten (#136).

This commit is contained in:
Bailey Ling
2013-08-20 15:02:17 +00:00
parent e2a758e309
commit cbb9bea9db
3 changed files with 13 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ call s:check_defined('g:airline_section_gutter', '%=')
call s:check_defined('g:airline_section_x', "%{strlen(&filetype)>0?&filetype:''}")
call s:check_defined('g:airline_section_y', "%{strlen(&fenc)>0?&fenc:''}%{strlen(&ff)>0?'['.&ff.']':''}")
call s:check_defined('g:airline_section_z', '%3p%% '.g:airline_linecolumn_prefix.'%3l:%3c')
call s:check_defined('g:airline_section_warning', '')
call s:check_defined('g:airline_section_warning', '__')
let s:airline_initialized = 0
let s:airline_theme_defined = 0