From ffbbaa769afa9c94ffc1eb4acf20b88c7a4f447b Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 20 Feb 2014 00:30:16 +0100 Subject: [PATCH 1/2] Clarify doc for loading custom extensions --- autoload/airline/extensions.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index f32abd3..6c2a0d6 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -206,7 +206,8 @@ function! airline#extensions#load() call airline#extensions#promptline#init(s:ext) endif - " load all other extensions not part of the default distribution + " Load all other extensions, which are not part of the default distribution. + " (autoload/airline/extensions/*.vim outside of our s:script_path). for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), "\n") " we have to check both resolved and unresolved paths, since it's possible " that they might not get resolved properly (see #187) From a6e304e07c40e1ebe61badb36fe486c91683438f Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 20 Feb 2014 00:30:56 +0100 Subject: [PATCH 2/2] minor doc fix: s/various some/various/ --- doc/airline.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/airline.txt b/doc/airline.txt index d5407b9..7709602 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -616,7 +616,7 @@ to your liking. Here is an example: > return 1 endfunction < -The above example uses various some example highlight groups to demonstrate +The above example uses various example highlight groups to demonstrate that you can use any combination from the loaded colorscheme. However, if you want colors to change between modes, you should use one of the section highlight groups, e.g. `airline_a` and `airline_b`.