mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 09:58:29 +08:00
document how to format the wordcount ext. output
This commit is contained in:
parent
c375d050a8
commit
5e2ef0cd83
|
@ -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. >
|
||||
|
|
Loading…
Reference in New Issue
Block a user