Skip to content
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

Not an editor command #11

Open
krusse opened this issue Nov 20, 2015 · 6 comments
Open

Not an editor command #11

krusse opened this issue Nov 20, 2015 · 6 comments

Comments

@krusse
Copy link

krusse commented Nov 20, 2015

:RMarkdown does not seem to register as a command.

I installed through vundle with all prerequisites installed.

I would really love to have the Rscript functionality of this plugin. Any help is appreciated.

@georgewsinger
Copy link

I had this issue as well. Run :set filetype=rmarkdown. As it is, *.Rmd files are being set to filetype rmd by default, and thus the scripts in this repo don't seem to be running.

@smilesun
Copy link

smilesun commented Dec 5, 2017

is there a way to set something into .vimrc file permanently or change some other seeting so one do not need to run :set filetype=rmarkdown all the time ?

@fmoralesc
Copy link
Member

The latest changes in the repo (from the latest PR) should have improved this somewhat, did they not?

@smilesun
Copy link

smilesun commented Dec 5, 2017

I dont think so, since I run BundleUpdate, and the problem is still there.

@nikolaussucher
Copy link

Add this to your .vimrc:
autocmd BufRead,BufNewFile *.rmd set filetype=rmarkdown

@ghost
Copy link

ghost commented Jul 19, 2018

I'm facing a similar issue, but if I use @nikolaussucher solution, it doesn't highlight the syntax unfortunately. The hl works but the command doesn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants