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

Add ERB highlighting inside of script tags #240

Merged

Conversation

jrectenwald
Copy link
Contributor

@jrectenwald jrectenwald commented Oct 16, 2018

Description of the Change

This adds embedded js rules to the grammar for html.erb files so that erb syntax highlighting will work inside of script tags.

Alternate Designs

None

Benefits

ERB highlighting will work correctly when placed inside of a script tag.

Before:
before

After
after

Possible Drawbacks

None that I am aware of

Applicable Issues

#192 and #230

@darangi
Copy link
Contributor

darangi commented Feb 4, 2021

Thanks for the contribution

@darangi darangi merged commit f2e9f73 into atom:master Feb 4, 2021
@jrectenwald jrectenwald deleted the enable-erb-highlighting-in-script-tag branch February 6, 2021 04:14
@jrectenwald
Copy link
Contributor Author

Thanks for the contribution

Thanks for the review!

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

Successfully merging this pull request may close these issues.

2 participants