Better toggling of powerline fonts

+ Check the value of airline_powerline_fonts not just existence
This commit is contained in:
Jacob Walker
2013-08-22 09:14:17 -05:00
parent 0dc3a7913d
commit 3920817442
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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'])