You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code, the else and end are highlighted as belonging to the def: the if appears to be treated as a modifier despite being in an expression context.
deffoox= \
ifa1else2endend
Indentation seems to be correspondingly mislead, too.
The text was updated successfully, but these errors were encountered:
Conditional and loop modifiers always appear after required line
continuations so match the redundant ones and allow the general forms to
match as normal.
Adds a user configuration variable, ruby_line_continuation_error, to
highlight useless line continuations as errors.
Addresses the syntax highlighting component of #340.
Because you have to be more than a little mad to be doing this in the
first place.
In the following code, the
else
andend
are highlighted as belonging to thedef
: theif
appears to be treated as a modifier despite being in an expression context.Indentation seems to be correspondingly mislead, too.
The text was updated successfully, but these errors were encountered: