-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make this plugin work with R Markdown by default #601
Comments
I don't think we can do this by default without creating problems for many people. There are lots or R specific plugins and many of them do not play nice with this one. See for example #263, but I am pretty sure there are others. If we try to snag the It's possible we could add documentation for how to enable it for more file types and use R Markdown as an example. I'll leave this issue open to track that (contributions welcome). |
I am not sure how to activate this plugin for file types other than |
au BufRead,BufNewFile *.rmd set ft markdown If you have other rmd related stuff you want to use and don't want to just pretend they are filetype markdown then you will need to piecemeal import the things you want, for example adding an after/filetype hook to source this plugin code after setting the rmd filetype to get the functions or importing the markdown highlighting into the rmd syntax rules yourself. |
Can I do
Sorry, I am not sure exactly how to do this. Perhaps there should be an option for this plugin to enable it for other file types? By the way, if I symlink all |
R Markdown (
rmd
) is exactly the same as Markdown except with extra features. This plugin should apply not only to themarkdown
file type, but also to thermd
file type.The text was updated successfully, but these errors were encountered: