Requisite minimal reproducible example, formatted as plain text :
class Faulty {
foo = 'bar'
static doesNotWork1 = 'bar'
static doesNotWork2 = "bar"
static x
}
In the class above, static is never highlighted.
String properties without a trailing semicolon messes up the coloring of the next line.