Home Download Buy Blog Forum Support

SCSS Files Sytax Highlighting Multiline Comments

SCSS Files Sytax Highlighting Multiline Comments

Postby shanomurphy on Sat Oct 20, 2012 2:00 am

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!
shanomurphy
 
Posts: 2
Joined: Sat Oct 20, 2012 1:43 am

Re: SCSS Files Sytax Highlighting Multiline Comments

Postby shanomurphy on Sat Oct 20, 2012 5:14 pm

changing Sass.tmLanguage (line 77) comment end string from "<string>\*/|$</string>" to <string>\*/</string> worked. Not sure what function the extra |$ has
shanomurphy
 
Posts: 2
Joined: Sat Oct 20, 2012 1:43 am


Return to General Discussion

Who is online

Users browsing this forum: vaselinessa, Yahoo [Bot] and 43 guests