Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Highlight/snippets not working in *.js.erb strings #39

Open
art-solopov opened this issue Aug 31, 2015 · 0 comments
Open

Highlight/snippets not working in *.js.erb strings #39

art-solopov opened this issue Aug 31, 2015 · 0 comments

Comments

@art-solopov
Copy link

Right now, the highlight and interpolation only work outside of string in *.js.erb files.

For example, in this code:

$('#daily_modal .modal-header h4 .date').html("<%= t('.title', date: show_value(@date)) %>")

The parameter to the .html call is uniformly highlighted as a string:

screenshot - 31 08 2015 - 13 26 55

it'd be nice to have it highlighted as Ruby.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant