document how to format the wordcount ext. output

This commit is contained in:
Christian Brabandt 2016-12-13 21:23:56 +01:00
parent c375d050a8
commit 5e2ef0cd83

View File

@ -466,6 +466,9 @@ eclim <https://eclim.org>
\ 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. >