Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

/* foo */ is treated as a slashy-string #75

Closed Wilfred closed 7 years ago

Wilfred commented 7 years ago

This should be highlighted as a string. Possibly related to #74, but we should have a test for this too.

vincekd commented 7 years ago

@Wilfred did you mean "should be highlighted as a string" or shouldn't as it's a comment?

Wilfred commented 7 years ago

@vincekd oops, sorry. /* foo */ should not be highlighted as a string, but should be highlighted as a comment. Currently it's highlighted as a string.

Wilfred commented 7 years ago

I've just grabbed the latest version of master and it is highlighting /* foo */ correctly, so your unit test is now all that we need :)