tpope/vim-haml — pull request #39 by railsbros-dirk (2012-07-12 12:20:01+00:00)
Title: Restricting the SCSS comment matching

Hi Tim,

first of all I want to use this opportunity you for awesome plugin work. Without you using Vim would be only half the fun! Thanks for that.

Today I opened up an SCSS file which uses a wildcard import statement like the following:

@import "sprites/menu/*.png";

Due to a not so restricted comment matching in the SCSS syntax nearly the whole file seemed to be commented out. My first thought was, why do people not delete code but comment it out? After realizing that the entire file was disabled I thought maybe something else is wrong here :-)

This minor change will fix that. I partly tool it from [this syntax definition for SCSS][1].

Thanks for your time.

Best regards,
Dirk

[1]: https://github.com/cakebaker/scss-syntax.vim/blob/master/syntax/scss.vim