add inactive statusline funcrefs into the pipeline.

This commit is contained in:
Bailey Ling
2013-08-24 09:31:30 -04:00
parent 04daa66b48
commit f6d8a981b6
3 changed files with 24 additions and 8 deletions

View File

@@ -302,6 +302,12 @@ statuslines to your liking. Here is an example: >
<
The second variable is the context, which is a dictionary containing various
values such as whether the statusline is active or not, and the window number.
>
context = {
'winnr': 'the window number for the statusline',
'active': 'whether the window is active or not',
}
<
*airline-pipeline-return-codes*
The pipeline accepts various return codes and can be used to determine the