With the CoffeeScript lexer, add the keyword 'null' to set two (index 1), and enter the following text into the editor:
:::coffeescript
null
test
test
Put the cursor after 'null' and press enter twice. Now the entire document (from 'null' to the end) is highlighted in the same style.
Attached patch seems to resolve this.
Also addressed in the patch is the case:
To prevent 'myArray.length' from being highlighted as a number literal.
Committed as [12a3a0] and [47d68e].
Related
Commit: [12a3a0]
Commit: [47d68e]