Skip to content

Commit

Permalink
Allow whitespace before mixin name
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Apr 28, 2011
1 parent a0345d5 commit cc56253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/sass.vim
Expand Up @@ -37,7 +37,7 @@ syn match sassFunction "\<\%(type-of\|unit\|unitless\|comparable\)\>(\@=" contai
syn region sassInterpolation matchgroup=sassInterpolationDelimiter start="#{" end="}" contains=@sassCssAttributes,sassVariable,sassFunction containedin=cssStringQ,cssStringQQ,sassProperty

syn match sassMixinName "[[:alnum:]_-]\+" contained nextgroup=sassCssAttribute
syn match sassMixin "^=" nextgroup=sassMixinName
syn match sassMixin "^=" nextgroup=sassMixinName skipwhite
syn match sassMixin "\%([{};]\s*\|^\s*\)\@<=@mixin" nextgroup=sassMixinName skipwhite
syn match sassMixing "^\s\+\zs+" nextgroup=sassMixinName
syn match sassMixing "\%([{};]\s*\|^\s*\)\@<=@include" nextgroup=sassMixinName skipwhite
Expand Down

0 comments on commit cc56253

Please sign in to comment.