mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-09 04:52:20 +08:00
deprecate airline_detect_whitespace
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user