mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-11 20:54:27 +08:00
Use the correct variable for defining the theme
document it in the helpfile
This commit is contained in:
parent
14054eb02f
commit
0ff72ad84c
|
@ -23,7 +23,7 @@ This plugin follows the standard runtime path structure, and as such it can be i
|
||||||
|
|
||||||
Once installed, use `:AirlineTheme <theme>` to set the theme, e.g. `:AirlineTheme simple`
|
Once installed, use `:AirlineTheme <theme>` to set the theme, e.g. `:AirlineTheme simple`
|
||||||
|
|
||||||
To set in .vimrc, use `let g:AirlineTheme='<theme>'`, e.g. `let g:AirlineTheme='simple'`
|
To set in .vimrc, use `let g:airline_theme='<theme>'`, e.g. `let g:airline_theme='simple'`
|
||||||
|
|
||||||
|
|
||||||
# Contribution Guidelines
|
# Contribution Guidelines
|
||||||
|
|
|
@ -102,6 +102,13 @@ Currently this repository contains the following themes:
|
||||||
==============================================================================
|
==============================================================================
|
||||||
NAME *airline-themes-configuration*
|
NAME *airline-themes-configuration*
|
||||||
|
|
||||||
|
*g:airline_theme*
|
||||||
|
|
||||||
|
To define a theme to be used by vim-airline you can set the variable
|
||||||
|
g:airline_theme in your |.vimrc| like this: >
|
||||||
|
|
||||||
|
:let g:airline_theme='dark'
|
||||||
|
<
|
||||||
|airline-theme-solarized|
|
|airline-theme-solarized|
|
||||||
*g:solarized_base16*
|
*g:solarized_base16*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user