From 0ff72ad84c560b5827db3e7d1034722e9ec55e45 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 28 Sep 2016 22:11:22 +0200 Subject: [PATCH] Use the correct variable for defining the theme document it in the helpfile --- README.md | 2 +- doc/airline-themes.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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*