mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-18 14:29:42 +08:00
Better toggling of powerline fonts
+ Check the value of airline_powerline_fonts not just existence
This commit is contained in:
@@ -11,7 +11,7 @@ else
|
||||
endif
|
||||
|
||||
let s:symbol = get(g:, 'airline#extensions#whitespace#symbol',
|
||||
\ get(g:, 'airline_whitespace_symbol', exists('g:airline_powerline_fonts') ? '✹' : '!'))
|
||||
\ get(g:, 'airline_whitespace_symbol', get(g:, 'airline_powerline_fonts', 0) ? '✹' : '!'))
|
||||
|
||||
let s:checks = get(g:, 'airline#extensions#whitespace#checks', ['indent', 'trailing'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user