From d49a296984f8586f1322a03eae40ab89d22c2fbb Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 30 Jun 2013 23:18:49 +0200 Subject: [PATCH] update readme about powerline glyths --- README.md | 3 ++- plugin/airline.vim | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6722182..a739bed 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ there's already [powerline](https://github.com/Lokaltog/powerline), why yet anot * it's small. i want the entire plugin to be less than 200 lines as a rule * gets you 90% of the way there: in addition to all the standard goodies, supports [fugitve](https://github.com/tpope/vim-fugitive) and [syntastic](https://github.com/scrooloose/syntastic) * integration with [vim-bufferline](https://github.com/bling/vim-bufferline) -* it's fast. since it's so small, it only takes 0.6ms to load. by requiring python, powerline needs 60ms on the same machine. +* looks good with regular fonts, with support to use powerline font glyths +* it's fast to load. since it's so small, it only takes 0.5ms to load. by comparison, powerline needs 60ms on the same machine. # why's it called airline? diff --git a/plugin/airline.vim b/plugin/airline.vim index 82c28f0..2e712a9 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -1,10 +1,10 @@ " powerline symbols:        " some unicode symbols: ▶ » « ◀ if !exists('g:airline_left_sep') - let g:airline_left_sep=exists('g:airline_powerline_fonts')?"":"»" + let g:airline_left_sep=exists('g:airline_powerline_fonts')?"":">" endif if !exists('g:airline_right_sep') - let g:airline_right_sep=exists('g:airline_powerline_fonts')?"":"«" + let g:airline_right_sep=exists('g:airline_powerline_fonts')?"":"<" endif if !exists('g:airline_enable_fugitive') let g:airline_enable_fugitive = 1