mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 20:34:48 +08:00
fix typo in solarized2 for gui colors, update readme and doc
This commit is contained in:
parent
b445eabdec
commit
4fc6b31a82
|
@ -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
|
||||
|
|
|
@ -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, '']
|
||||
|
|
|
@ -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'
|
||||
<
|
||||
|
|
Loading…
Reference in New Issue
Block a user