Highlight block correctly in ERB file #2929
Labels
bug
Something isn't working
good-first-issue
Good for newcomers
help-wanted
Extra attention is needed
pinned
This issue or pull request is pinned and won't be marked as stale
When highlighting the control block structure within an ERB file, if there is a block defining word used as a method argument keyword inside the block, it will match the
end
statement with that keyword instead of the control block.With a
class:
argument in a method call (with or without parentheses):Without the
class:
keyword, it works fine:Calling
class=
as an HTML attribute is fine:Within a normal Ruby .rb file, this does not occur:
The text was updated successfully, but these errors were encountered: