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.

Rails ERB scope name #45

Description

@ricardograca

I know it's not working, but shouldn't the scope name be text.html.rails instead of text.html.ruby? The latter makes it seem like it's myfile.html.rb, and it doesn't match the grammar's "pretty" name: HTML (Rails).

Also, I'd like to add that the name "HTML (Rails)" isn't very accurate as well, since in this case it only refers to ERB files and Rails can use other templating engines which would still be "HTML (Rails)". That name should also be changed to something like HTML (Rails - ERB) for better consistency with the regular ERB syntax "HTML (Ruby - ERB)", and to convey the fact that it's Rails specific.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions