Skip to content

Parenthesis not tokenized correctly when there is space preceding it #77

@goldrik

Description

@goldrik

When there is a space before the last parenthesis, it is not identified to be the closing paren of the cellfun() function, shown below.
The top two lines have the parens colored yellow (correct), while the bottom two lines show the red/yellow mismatch (incorrect)

Screenshot 2024-03-05 at 12 26 34 PM (3)

The top two have the token
punctuation.section.group.end.matlab

The bottom two dont have that token, but instead have
string.unquoted.matlab
meta.function-call.command.matlab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions