mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-01-20 01:42:55 +08:00
fix typos in readme
This commit is contained in:
parent
72852fa665
commit
d833ae041d
10
README.md
10
README.md
|
@ -12,16 +12,16 @@ There's already [powerline][b], why yet another statusline?
|
|||
|
||||
What about [vim-powerline][a]?
|
||||
|
||||
* the author has been active developing [powerline][b], which was rewritten in python and expands its capabilities to tools outside of Vim, such as bash, zsh, and tmux.
|
||||
* [vim-powerline][a] has been deprecated as a result, and no features will be added to it.
|
||||
* [vim-powerline][a] uses different font codes, so if you want to use it with a [powerline][b] themed tmux (for example), it will not work.
|
||||
* the author has been active developing powerline, which was rewritten in python and expands its capabilities to tools outside of Vim, such as bash, zsh, and tmux.
|
||||
* vim-powerline has been deprecated as a result, and no features will be added to it.
|
||||
* vim-powerline uses different font codes, so if you want to use it with a powerline themed tmux (for example), it will not work.
|
||||
|
||||
# Features
|
||||
|
||||
* tiny core (under 200 lines) and written with extensibility in mind (specifically adhering to the [open/closed principle][h]).
|
||||
* tiny core (under 200 lines), written with extensibility in mind (specifically adhering to the [open/closed principle][h]).
|
||||
* integrates with a variety of plugins: [vim-bufferline][f], [fugitive][d], [unite][i], [ctrlp][j], [minibufexpl][o], [gundo][p], [undotree][q], [nerdtree][r], [tagbar][s], [syntastic][e] and [lawrencium][u].
|
||||
* looks good with regular fonts and provides configuration points so you can use unicode or powerline symbols.
|
||||
* optimized for speed; it loads 1ms.
|
||||
* optimized for speed; it loads in 1ms.
|
||||
* fully customizable; if you know a little `statusline` syntax you can tweak it to your needs.
|
||||
* trivial to write colorschemes; for a minimal theme you need to edit 9 lines of colors (please send pull requests).
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ function! s:get_statusline(winnr, active)
|
|||
let sl.=l:mode_sep_color
|
||||
let sl.=a:active ? g:airline_left_sep : g:airline_left_alt_sep
|
||||
let sl.=l:info_color
|
||||
let sl.=' '.s:get_section(a:winnr, 'b').' '
|
||||
let sl.=s:get_section(a:winnr, 'b')
|
||||
let sl.=l:info_sep_color
|
||||
let sl.=g:airline_left_sep
|
||||
let sl.=l:status_color.' %<'.s:get_section(a:winnr, 'c').' '
|
||||
|
|
Loading…
Reference in New Issue
Block a user