Closed rcst closed 1 year ago
Nvim-R uses Vim's default file type recognition, but .Rmarkdown
will be recognized as rmd
if you put this in your vimrc
:
autocmd BufNewFile,BufRead *.Rmarkdown set ft=rmd
or init.lua
:
vim.cmd.autocmd('BufNewFile,BufRead', '*.Rmarkdown', 'set ft=rmd')
Thanks!
Hi,
I noticed that the (awesome) plugin doesn't recognize files with extension
.Rmarkdown
. I tried including it into the newly available filetypes list variableHowever, it seems this list can only disable filetypes, not add (as the documentation might imply).
I'd like to have this "filetype" working, because I'm editing both
Rmd
andRmarkdown
file, which are no different in content, but theblogdown
packages sees a difference as to render the former into HTML and the latter always into plain Markdown.