jchouse / bemhtml

3 stars 3 forks source link

No custom modes colouring #5

Open narqo opened 10 years ago

narqo commented 10 years ago

In the following example assets is a custom mode within templates predicate. Guess it should be coloured as tag, js and other modes.

2014-04-09 20-32-29 b-page bemhtml - usersvarankinvsrcassistant-www

narqo commented 10 years ago

There is another bug in the screenshot above: js is coloured as a mode. But it shouldn't, because it is located within template's body

jchouse commented 10 years ago

Сделать подсветку кастомных мод довольно тяжело, классы-то к ним добавятся, а вот подсветка нет. Поэтому подсветка будет зависеть от контекста. JS починил уже давно.