SublimeText / Sass

Sass and SCSS syntax for Sublime Text
https://packagecontrol.io/packages/Sass
MIT License
50 stars 8 forks source link

Incorrect highlighting for nested HTML elements with pseudo-classes #14

Closed ghost closed 5 years ago

ghost commented 5 years ago

image

braver commented 5 years ago

Oh, this is nasty. SCSS has this feature where you can break up and nest namespaced properties. Currently, my logic is basically "if it isn't a property it must be a selector". That works for LESS, but not for SCSS if you allow column-span: 1 to be written as column: { span: 1 }. It can be solved with some effort, I have some ideas I'll look into later this week. For now I'm going to sacrifice the nested properties and they will return in different form soon.

braver commented 5 years ago

Please track issue #16 WRT the nested properties issue.