Having multiple rules on one line breaks highlighting
blackrobot opened this issue · 4 comments
blackrobot commented
If I have multiple Less or CSS rules on the same line, it breaks highlighting. For instance:
#container {
background: #000; color: #fff;
}
Will cause background to be highlighted correctly, as well as #000
but everything else on the line appears in blue.
ncherro commented
I'm having the same issue
leonardehrenfried commented
It's possible that I introduced the bug with one of my pull requests. I will have a look if I can do something about it.
leonardehrenfried commented
This commit introduces this behaviour: 0e5eb53
I'll try to come up with a better solution, but if anyone has an idea I'm open for suggestions.
leonardehrenfried commented
I have reverted my commit and send a pull request (#13). This fixes this issue but forces you to use a space after the colon in a style definition.