We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67519c4 commit d74beecCopy full SHA for d74beec
autoload/rails.vim
@@ -4133,7 +4133,7 @@ function! rails#buffer_syntax() abort
4133
syn match sprocketsIncluded /\f\+\|"[^"]*"/ contained
4134
syn match sprocketsIncludedDir /\f\+\|"[^"]*"/ contained skipwhite nextgroup=sprocketsIncluded
4135
endif
4136
- if &syntax ==# "scss" || &syntax ==# "sass"
+ if &syntax =~# "\<s[ac]ss\>"
4137
syn match sassFunction "\<\%(\%(asset\|image\|font\|video\|audio\|javascript\|stylesheet\)-\%(url\|path\)\)\>(\@=" contained
4138
syn match sassFunction "\<\asset-data-url\>(\@=" contained
4139
0 commit comments