From 4fc6b31a82d15069819f0f6922a2bf41360e99fe Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Wed, 10 Jul 2013 17:54:25 +0000 Subject: [PATCH] fix typo in solarized2 for gui colors, update readme and doc --- README.md | 7 +++---- autoload/airline/themes/solarized2.vim | 2 +- doc/airline.txt | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9fdd3075..2f34842c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ There's already [powerline][b], why yet another statusline? What about [old powerline][a]? * the old version still works well, but since it's deprecated new features won't get added -* since it uses different font codes, it is incompatible with new powerline features (e.g. bash, zsh, tmux, etc.) +* it uses different font codes, which makes it incompatible with other powerline bindings in the same terminal (e.g. bash, zsh, tmux, etc.) # Why's it called airline? @@ -45,9 +45,8 @@ This plugin follows the standard runtime path structure, and as such it can be i # FAQ/Troubleshooting * the powerline font symbols are not showing up - * enable them by adding `let g:airline_powerline_fonts=1` to your `~/.vimrc` - * the older deprecated [vim-powerline][a] uses different codes compared to the newer [powerline][b]. - * you can grab prepatched fonts at [powerline-fonts][c], or you can manually set the relevant `g:` variables + * enable them by adding `let g:airline_powerline_fonts=1` to your vimrc. + * the older deprecated [vim-powerline][a] uses different font codes compared to the newer [powerline][b]. you can grab prepatched fonts at [powerline-fonts][c]. * there is a pause when leaving insert mode * you need to set `ttimeoutlen` to a low number; 50 is recommended * you don't see any colors diff --git a/autoload/airline/themes/solarized2.vim b/autoload/airline/themes/solarized2.vim index 7cc63ab6..299edac8 100644 --- a/autoload/airline/themes/solarized2.vim +++ b/autoload/airline/themes/solarized2.vim @@ -34,7 +34,7 @@ let s:N1 = [s:base2.g, s:blue.g, s:base2.t, s:blue.t, 'bold'] let s:N2 = [s:base2.g, s:base01.g, s:base2.t, s:base01.t] if s:background == 'dark' let s:N3 = [s:base1.g, s:base2.g, s:base1.t, s:base02.t] - let s:NF = [s:pinky.g, s:base02.t, s:pinky.t, s:base02.t, ''] + let s:NF = [s:pinky.g, s:base02.g, s:pinky.t, s:base02.t, ''] else let s:N3 = [s:base1.g, s:base2.g, s:base1.t, s:base2.t] let s:NF = [s:red.g, s:base2.g, s:red.t, s:base2.t, ''] diff --git a/doc/airline.txt b/doc/airline.txt index e4738ebd..a85b9521 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -58,7 +58,8 @@ values): let g:airline_enable_syntastic=1 < -* change the theme (available options: dark, light, simple, badwolf) +* change the theme (available options: dark, light, simple, badwolf, + solarized, solarized2) > let g:airline_theme='dark' <