danro/LESS-sublime

Highlighting for Ruleset Maps is broken

Closed this issue · 3 comments

The highlighting for key value pairs inside ruleset maps seems to break whenever there is a hyphen or a number in a key. Also the first entry has a different color. (No idea what's going on with the 'dt' key though)

bildschirmfoto 2018-11-07 um 16 58 07

Is the syntax highlighting for this (relatively new) feature just not yet implemented?

Yeah, this is the first I've heard of that, so it's simply not covered yet. Will look into it, can't be hard. Thanks for reporting!

There are some variations I need to look into further, but the basics are in now.

@IIFLIPII If you want to have the fix right now, you can try the "new" branch: https://github.com/danro/LESS-sublime/tree/new