From 5e2ef0cd83b1c37297b6dd95750c55decce3fd0f Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 13 Dec 2016 21:23:56 +0100 Subject: [PATCH] document how to format the wordcount ext. output --- doc/airline.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/airline.txt b/doc/airline.txt index 2f3f9043..ee1f7b9c 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -466,6 +466,9 @@ eclim \ wordcount()['words'] > 100 ? 'okay' : 'not enough') endfunction let g:airline#extensions#wordline#formatter = 'foo' + +* defines how to display the wordcount statistics: > + let g:airline#extensions#wordcount#format = '%d words' < ------------------------------------- *airline-whitespace* * enable/disable detection of whitespace errors. >