Treat R Markdown the same as Markdown

This commit is contained in:
amarakon
2022-09-30 23:14:43 -04:00
committed by Christian Brabandt
parent 8e989201c8
commit 84823e5e7d
3 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ endfunction
" default filetypes:
function! airline#extensions#wordcount#apply(...)
let filetypes = get(g:, 'airline#extensions#wordcount#filetypes',
\ ['asciidoc', 'help', 'mail', 'markdown', 'nroff', 'org', 'rst', 'plaintex', 'tex', 'text'])
\ ['asciidoc', 'help', 'mail', 'markdown', 'rmd', 'nroff', 'org', 'rst', 'plaintex', 'tex', 'text'])
" export current filetypes settings to global namespace
let g:airline#extensions#wordcount#filetypes = filetypes