Groovy-Emacs-Modes / groovy-emacs-modes

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

'common' is incorrectly highlighted as keyword #33

Closed Wilfred closed 7 years ago

Wilfred commented 7 years ago

Given the code:

def foo
def common
def bar

Groovy mode shows the following highlighting:

screen shot 2017-03-01 at 15 13 49

It's applied font-lock-type-face to common. I'm not sure why, I can't see common listed in any keyword list in the code for groovy. It's also not a reserved word for C or Java as far as I can tell.

Any idea why this happens?

russel commented 7 years ago

We have changed the Groovy mode from being a CC-Mode derived one to being a standalone one. We are therefore closing all issues relating to the old mode. If you try the new mode and see any problems please post a new issue.