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

Incorrect highlighting for a tag starting with # and ending at the dot #84

Closed mrmlnc closed 8 years ago

mrmlnc commented 8 years ago

Minimal code example that is causing the problem:

#test(abc="asdfsdf").
    another case of text block

Demo: 2016-09-10_01-06-35

I conducted a "study" and concluded that it related to: dot_block_tag.py.

davidrios commented 8 years ago

That is only happening on your custom version of this highlighter right? That's because you didn't change the scope name for classes and ids in all places. I did that too with 46cdd23cd68c18a50cf6044447e116223d05775b

mrmlnc commented 8 years ago

@davidrios, thanks for you review. I don't fully understand this big RegExp. 👍