mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 14:49:06 +08:00
Merge pull request #2257 from weirane/nroff-wordcount
Add nroff to wordcount
This commit is contained in:
commit
8608270bd3
|
@ -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', 'plaintex', 'tex', 'text'])
|
||||
\ ['asciidoc', 'help', 'mail', 'markdown', 'nroff', 'org', 'rst', 'plaintex', 'tex', 'text'])
|
||||
" export current filetypes settings to global namespace
|
||||
let g:airline#extensions#wordcount#filetypes = filetypes
|
||||
|
||||
|
|
|
@ -1515,7 +1515,7 @@ vim-windowswap <https://github.com/wesQ3/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', 'plaintex', 'rst', 'tex', 'text'])
|
||||
\ ['asciidoc', 'help', 'mail', 'markdown', 'nroff', 'org', 'plaintex', 'rst', 'tex', 'text'])
|
||||
" Use ['all'] to enable for all filetypes.
|
||||
|
||||
* defines the name of a formatter for word count will be displayed: >
|
||||
|
|
Loading…
Reference in New Issue
Block a user