miksago/jade-tmbundle — pull request #19 by DrewMartin (2012-07-20 20:50:14+00:00)
Title: Improved the regular expression that delimits coffeescript in jade

Blocks of coffeescript in a jade file will only stop coffeescript syntax highlighting when it has read a line with less or equal whitespace indentation as coffeescript that actually has text on the line.
Before, it was finding any line with any amount of whitespace less, regardless of whether that line had text. If your editor trimmed trailing whitespace, then only the first bit of coffeescript had proper syntax coloring, and the rest had jade coloring.