diff --git a/README.md b/README.md index 66b3921..a75fd3d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This plugin follows the standard runtime path structure, and as such it can be i Once installed, use `:AirlineTheme ` to set the theme, e.g. `:AirlineTheme simple` -To set in .vimrc, use `let g:AirlineTheme=''`, e.g. `let g:AirlineTheme='simple'` +To set in .vimrc, use `let g:airline_theme=''`, e.g. `let g:airline_theme='simple'` # Contribution Guidelines diff --git a/doc/airline-themes.txt b/doc/airline-themes.txt index db4ff88..7a3cd98 100644 --- a/doc/airline-themes.txt +++ b/doc/airline-themes.txt @@ -102,6 +102,13 @@ Currently this repository contains the following themes: ============================================================================== 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| *g:solarized_base16*