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)
The top two have the token
punctuation.section.group.end.matlab
The bottom two dont have that token, but instead have
string.unquoted.matlabmeta.function-call.command.matlab
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)
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