enable wordcount for mail and tex filetypes

This commit is contained in:
Christian Brabandt 2016-11-24 15:19:46 +01:00
parent 3ebd7ad64b
commit 53c8aa4fd6
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
scriptencoding utf-8
let s:filetypes = get(g:, 'airline#extensions#wordcount#filetypes', '\vhelp|markdown|rst|org|text|asciidoc')
let s:filetypes = get(g:, 'airline#extensions#wordcount#filetypes', '\vhelp|markdown|rst|org|text|asciidoc|tex|mail')
let s:format = get(g:, 'airline#extensions#wordcount#format', '%d words')
let s:formatter = get(g:, 'airline#extensions#wordcount#formatter', 'default')

View File

@ -451,7 +451,7 @@ eclim <https://eclim.org>
" the default value matches filetypes typically used for documentation
" such as markdown and help files.
let g:airline#extensions#wordcount#filetypes = ...
(default: markdown,rst,org,help,text)
(default: markdown,rst,org,help,text,tex,mail)
* defines the name of a formatter for word count will be displayed: >
" The default will try to guess LC_NUMERIC and format number accordingly