From 16223d0bc3a5f460be8687e9b68f718d54121e9a Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Fri, 20 Mar 2020 00:24:23 +0900 Subject: [PATCH] add plaintex filetype re-order and update document --- autoload/airline/extensions/wordcount.vim | 2 +- doc/airline.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/wordcount.vim b/autoload/airline/extensions/wordcount.vim index c25ca78d..d8b00834 100644 --- a/autoload/airline/extensions/wordcount.vim +++ b/autoload/airline/extensions/wordcount.vim @@ -87,7 +87,7 @@ endfunction " default filetypes: function! airline#extensions#wordcount#apply(...) let filetypes = get(g:, 'airline#extensions#wordcount#filetypes', - \ ['asciidoc', 'help', 'mail', 'markdown', 'org', 'rst', 'tex', 'text']) + \ ['asciidoc', 'help', 'mail', 'markdown', 'org', 'rst', 'plaintex', 'tex', 'text']) " export current filetypes settings to global namespace let g:airline#extensions#wordcount#filetypes = filetypes diff --git a/doc/airline.txt b/doc/airline.txt index dbf5e28a..9e989ce4 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -1387,7 +1387,7 @@ vim-windowswap " The default value matches filetypes typically used for documentation " such as markdown and help files. Default is: let g:airline#extensions#wordcount#filetypes = - \ ['asciidoc', 'help', 'mail', 'markdown', 'org', 'rst', 'tex', 'text']) + \ ['asciidoc', 'help', 'mail', 'markdown', 'org', 'plaintex', 'rst', 'tex', 'text']) " Use ['all'] to enable for all filetypes. * defines the name of a formatter for word count will be displayed: >