deprecate airline_detect_whitespace

This commit is contained in:
Bailey Ling
2013-08-19 20:35:48 -04:00
parent 71c8156f00
commit e65aefac00
4 changed files with 28 additions and 13 deletions

View File

@@ -163,7 +163,7 @@ function! airline#extensions#load()
call airline#extensions#bufferline#init(s:ext)
endif
if g:airline_detect_whitespace
if (get(g:, 'airline#extensions#whitespace#enabled', 1) && get(g:, 'airline_detect_whitespace', 1))
call airline#extensions#whitespace#init()
endif