Skip to content

Commit

Permalink
Conditionally override airline separators only if powerline fonts are…
Browse files Browse the repository at this point in the history
… not used.

The Airline separators were unconditionally overridden. I have conditionally overridden the separators only if the user doesn't use Powerline fonts.

User is expected to specify `g:airline_powerline_fonts=1` in `~/.vimrc.before.local` instead of `~/.vimrc.local`.
  • Loading branch information
SaswatPadhi authored and spf13 committed Oct 12, 2013
1 parent 97906e8 commit 0e5414e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,10 @@

" airline {
let g:airline_theme='powerlineish' " airline users use the powerline theme
let g:airline_left_sep='' " Slightly fancier separator, instead of '>'
let g:airline_right_sep='' " Slightly fancier separator, instead of '<'
if !exists('g:airline_powerline_fonts')
let g:airline_left_sep='' " Slightly fancier separator, instead of '>'
let g:airline_right_sep='' " Slightly fancier separator, instead of '<'
endif
" }

" vim-gitgutter {
Expand Down

0 comments on commit 0e5414e

Please sign in to comment.