Open art-solopov opened 9 years ago
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:
.html
it'd be nice to have it highlighted as Ruby.
Right now, the highlight and interpolation only work outside of string in *.js.erb files.
For example, in this code:
The parameter to the
.html
call is uniformly highlighted as a string:it'd be nice to have it highlighted as Ruby.