From 8e0d5cd95d7b3980319d0dd89ce547ff47af36b8 Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Thu, 13 Aug 2020 01:52:50 +0900 Subject: [PATCH] [fix] readingtime formatter's doc --- doc/airline.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/airline.txt b/doc/airline.txt index 76de1621..5d3c7ec8 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -1478,14 +1478,14 @@ vim-windowswap \ ['asciidoc', 'help', 'mail', 'markdown', 'org', 'plaintex', 'rst', 'tex', 'text']) " Use ['all'] to enable for all filetypes. -* enable reading time formatter > - let g:airline#extensions#wordcount#enabled = 1 - * defines the name of a formatter for word count will be displayed: > " The default will try to guess LC_NUMERIC and format number accordingly " e.g. 1,042 in English and 1.042 in German locale let g:airline#extensions#wordcount#formatter = 'default' + " enable reading time formatter + let g:airline#extensions#wordcount#enabled = 'readingtime' + " here is how you can define a 'foo' formatter: " create a file in autoload/airline/extensions/wordcount/formatters/ " called foo.vim, which defines the following function signature: