davidrios / jade-tmbundle

A comprehensive textmate / sublime text bundle for the Jade template language.
https://github.com/davidrios/jade-tmbundle
MIT License
102 stars 31 forks source link

Syntax highlight breaks after include #55

Closed pixelass closed 9 years ago

pixelass commented 9 years ago

This happens when an include is inside a style or script tag

screen shot 2015-10-11 at 6 30 29 am

Sublime Text 3

davidrios commented 9 years ago

This happens because in old versions of Jade a style tag not ending with a dot was allowed which rendered CSS inside, and my highlighter followed that. I need to drop that support in order to fix this, but I guess that won't affect a lot of people these days, so it's okay.

pixelass commented 9 years ago

and I thought I knew everything about Jade.. Thanks :smile: