CoffeeScript-Sublime-Plugin icon indicating copy to clipboard operation
CoffeeScript-Sublime-Plugin copied to clipboard

parentheses in default argument values breaks syntax highlighting

Open jordanbtucker opened this issue 9 years ago • 0 comments

When parentheses are used in the expression for the value of a default argument of a function, it breaks highlighting for its function's argument list. It's easier to understand with an example:

func = (arg1, arg2 = 'item(s)') ->

Here's how it looks:

image

Here are some similar examples of how it should look:

image

Here are some other examples of it being broken:

image

jordanbtucker avatar Jul 10 '14 00:07 jordanbtucker