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

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

Description

@art-solopov

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions