Use the correct variable for defining the theme

document it in the helpfile
This commit is contained in:
Christian Brabandt 2016-09-28 22:11:22 +02:00
parent 14054eb02f
commit 0ff72ad84c
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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*