mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-21 09:08:25 +08:00
reduce variable deprecation.
This commit is contained in:
@@ -10,7 +10,7 @@ else
|
||||
let s:show_message = get(g:, 'airline#extensions#whitespace#show_message', 1)
|
||||
endif
|
||||
|
||||
let s:symbol = g:airline_symbols.whitespace
|
||||
let s:symbol = get(g:, 'airline#extensions#whitespace#symbol', g:airline_symbols.whitespace)
|
||||
let s:checks = get(g:, 'airline#extensions#whitespace#checks', ['indent', 'trailing'])
|
||||
|
||||
let s:trailing_format = get(g:, 'airline#extensions#whitespace#trailing_format', 'trailing[%s]')
|
||||
|
||||
Reference in New Issue
Block a user