-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add backtick to list of quote characters for syntax highlighting. #859
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works nicely! LGTM.
Thanks!
If I'm not mistaken, backticks don't delimit strings but rather non-standard variable names. So maybe this should be highlighted as some kind of variable name (e.g. |
I think you are correct, from the documentation of ?Quotes:
I think the following should work:
|
…oloured like variables
Yes, it should be "general-variables". The last commit looks good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…ditorSupport#859) * Add backtick to list of quote characters for syntax highlighting. * backticks denote nonstandard variable names and should therefore be coloured like variables
What problem did you solve?
Backticks are a legal way to quote strings in R. Added backticks to list of quote characters for syntax highlighting.
Screenshot
Before:
After: