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
@@ -4,7 +4,7 @@
let s:empty_message = get(g:, 'airline#extensions#branch#empty_message',
\ get(g:, 'airline_branch_empty_message', ''))
let s:symbol = get(g:, 'airline#extensions#branch#symbol',
\ get(g:, 'airline_branch_prefix', exists('g:airline_powerline_fonts') ? ' ' : ''))
\ get(g:, 'airline_branch_prefix', get(g:, 'airline_powerline_fonts', 0) ? ' ' : ''))
let s:has_fugitive = exists('*fugitive#head')
let s:has_fugitive_detect = exists('*fugitive#detect')