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

String interpolation contexts should use code font-locking #16

Closed
chrisbarrett opened this issue Jun 6, 2014 · 1 comment · Fixed by #28
Closed

String interpolation contexts should use code font-locking #16

chrisbarrett opened this issue Jun 6, 2014 · 1 comment · Fixed by #28

Comments

@chrisbarrett
Copy link
Collaborator

Currently, interpolation contexts in strings do not use code font-locking. In the following,

"foo \(bar + baz)"

everything inside the parens should be font-locked as code.

@bbatsov
Copy link
Collaborator

bbatsov commented Jun 6, 2014

That'd be pretty hard to do, that's why most modes font-lock interpolated code as a single entity (e.g. ruby-mode, web-mode, slim-mode, puppet-mode, etc).

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

Successfully merging a pull request may close this issue.

2 participants