Closed rlivings39 closed 3 years ago
Looking at the help page, this seems overcomplicated. Dual command syntax is simple.. there's a keyword.other
/support.function
word and a char vector option at the end (terminated by [\n;%]
). A check for missing =
or (
after the "word" is the only thing needed.
I'll see what comes of hacking at it
Could you ping your colleague about the PR on Slack? I've corrected this issue and added enhancements: https://github.com/mathworks/MATLAB-Language-grammar/pull/37#issuecomment-843723493
Resolved by #37. This issue needs closing
Closing - resolved by https://github.com/mathworks/MATLAB-Language-grammar/pull/37
From https://github.com/thedavidprice/language-matlab-octave/issues/19
Consider he code:
should treat
x = 1;
in the second line as typical code not as a string as part of the command. Notice that the1
is not highlighted in the second line.The difference is more pronounced in Atom with the language-matlab-octave extension: