Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong coloring of the last function argument when it is followed by ellipsis #23

Closed
vr050714 opened this issue Dec 16, 2019 · 4 comments

Comments

@vr050714
Copy link

multiline-instruction-coloring

Probably, the same issue concerns arrays declaration as well

multiline-instruction-coloring-2

@vr050714
Copy link
Author

vr050714 commented Dec 16, 2019

The problem is that it expects comma operator in between variable and ellipsis.
Green color on my screenshots corresponds to array of chars, likely.

@rlivings39
Copy link
Member

Looks like the same issue as #18. If you inspect the syntax highlighting info in vscode with Ctrl+Shift+P Developer: Inspect TM Scopes and then move your cursor to the improperly highlighted line you'll see that the grammar is treating this the same way as MATLAB command syntax:

vscodeBadCommand

@vr050714
Copy link
Author

That's interesting. Thanks!

@rlivings39
Copy link
Member

Fixed by #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants