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

[jade] Incorrect highlighting in strings with inline tags #67

Closed aeschli closed 8 years ago

aeschli commented 8 years ago

VS Code version: 0.10.6 - Using https://github.com/davidrios/jade-tmbundle Jade.tmLanguage version from Oct 26, 2015, but I see the same problem with latest version from Dec 1, 2015

Code:

p #[code samp] — Regular text. #[samp This is sample text] more text.

Description: If you try to write a dot in a inline tag (tag Interpolation), text highlighting changes.

Gif: 2016-01-04_15-44-32

Copied from original issue: Microsoft/vscode#1765

davidrios commented 8 years ago

I tested here and it works correctly using sublime text 2 and 3. In your example it seems to be wrong even before the dot, the text inside the inline tag should also be white, I guess it's more likely a problem on your side.