The meta.elseif.matlab and meta.else.matlab scopes only detected for the elseif and else keywords. This is due to both scopes using the match rule, while it should be using begin/end instead. The patterns in the match rule are never used as a match rule does not support patterns.
Also fixes #78 and while declarations are recognized.
Additionally, better support for line continuations including comments in multiline declarations.
The
meta.elseif.matlab
andmeta.else.matlab
scopes only detected for theelseif
andelse
keywords. This is due to both scopes using the match rule, while it should be using begin/end instead. The patterns in the match rule are never used as a match rule does not support patterns.Also fixes #78 and while declarations are recognized.
Additionally, better support for line continuations including comments in multiline declarations.