cakebaker / scss-syntax.vim

Vim syntax file for scss (Sassy CSS)
386 stars 71 forks source link

Inside @function: @if breaks syntax hightlighting (and more directives) #48

Closed joseluis closed 9 years ago

joseluis commented 9 years ago

I have some functions with broken highlighting. I found out that's because of a nested @if.

@if syntax looks well inside mixins and by itself, but not inside a @function. Symptoms are the same as described in issue #47.

Also while inside a @function block more allowed directives doesn't get proper highlighting: @error, @warn, @for, @each, @while, @debug.

cakebaker commented 9 years ago

Fixed. Thanks for reporting!