Skip to content

Commit

Permalink
Allow colon index in cell array index
Browse files Browse the repository at this point in the history
  • Loading branch information
SNDST00M: M.U.N.I.N authored and SNDST00M: M.U.N.I.N committed Jul 31, 2021
1 parent 4a498de commit b6c9cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammars/m.cson
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ repository:
{
comment: 'Colon operator for vector creation/indexing'
name: 'keyword.operator.vector.colon.matlab'
match: '(?<=[a-zA-Z0-9_\\s(),]|^):(?=[a-zA-Z0-9_\\s(),]|$)'
match: '(?<=[a-zA-Z0-9_\\s(){,]|^):(?=[a-zA-Z0-9_\\s()},]|$)'
}
{
comment: 'Comparative operators'
Expand Down

0 comments on commit b6c9cdd

Please sign in to comment.