Syntax highlight for ERB in heredoc
I have checked that this feature is not already implemented
- [x] This feature does not exist
Use case
I'm writing a lot of my ViewComponent with inline erb as heredoc and it would be great if the syntax highlight works for it as well.
Description
Based on the current grammar, using ERB in heredoc won't get syntax highlighted like the other supported language in this file.
I tried with HTML and it worked only with the non Ruby part.
It's quite odd that there are support for JS, GRAPHQL, and other languages but not ERB.
Implementation
We only need to add a configuration for ERB to the grammar file.
Thank you for the feature suggestion! We should definitely handle ERB heredocs too.
@vinistock I can try to make a PR for this.
Awesome! If you hit any blockers, don't hesitate to ping the team in this issue.
This issue is being marked as stale because there was no activity in the last 2 months
This issue is being marked as stale because there was no activity in the last 2 months