Sublime Forum

Jade syntax highlighting bug

#1

Seems that the Jade syntax highlighter gets thrown off when it encounters an opening brace followed by a quote (single or double) in a JavaScript block.

Observe:

Note that I can fool it by putting a closing brace inside a block comment:

Any ideas? Does the developer of the Jade syntax highlighter hang out in these forums?

0 Likes

#2

Can you check if this bundle works for you: github.com/dozed/jade-tmbundle ?
I attached a screenshot how it looks here.

0 Likes