introduce new warning section, and refactor whitespace into an extension which uses it

This commit is contained in:
Bailey Ling
2013-08-07 00:17:33 +00:00
parent 4d67c802b3
commit 528f56472c
4 changed files with 18 additions and 3 deletions

View File

@@ -136,6 +136,10 @@ function! airline#extensions#load()
call airline#extensions#bufferline#init(s:ext)
endif
if g:airline_detect_whitespace
call airline#extensions#whitespace#init(s:ext)
endif
call airline#exec_funcrefs(g:airline_statusline_funcrefs, 0)
endfunction