Sublime Forum

SCSS Files Sytax Highlighting Multiline Comments

#1

Sublime Text 2.0.1 with Sublime-Text-2-SASS-Package gives incorrect/unwanted syntax highlighting for multi-line comments in .scss files.

Basically I don’t want syntax highlighting on comments but with multi-line comments it automatically highlights, which makes differentiating comments from code difficult.

*Here is how the multi-line comments should look: *(http://i.imgur.com/MyRjs.png) (only achievable by renaming .css)

However in .scss files here is how they look: (http://i.imgur.com/O10de.png) (notice how comments aren’t one single color and it is trying to add syntax highlighting)*

I know it isn’t a major issue but is rather annoying!*

0 Likes

#2

changing Sass.tmLanguage (line 77) comment end string from “*/|$” to */ worked. Not sure what function the extra |$ has

0 Likes