Closed jsit closed 10 years ago
It's probably problem in your css.vim syntax file, because here looks good.
I can reproduce it in Vim 7.3, but not in Vim 7.4.
It seems that the problem is that for some reason border
is recognized as a type defined in the css.vim bundled with Vim 7.3 if the snippet is in a scss file. If the snippet is in a css file, however, the correct type is recognized and it is highlighted correctly...
Same here -- just tested with MacVim 7.4. Everything works fine.
In Vim 7.3, if I set ft=css.scss
(or css
), you're right, it's highlighted correctly, but then other Sass-specific things aren't highlighted correctly.
If I have just css.vim installed, border-radius
is highlighted correctly. If I have both css.vim and scss-syntax.vim installed -- or just scss-syntax.vim installed -- the highlighting is incorrect. (If I have neither installed, border-radius
highlighting is incorrect, as is expected.)
Is this something that can be addressed by scss-syntax.vim, or should I look elsewhere for a solution?
Fixed in https://github.com/cakebaker/scss-syntax.vim/commit/62665ca385fbc05a421366beb928094e9b161b78. Thanks for reporting.
With Vim 7.3 and only scss-syntax.vim and css.vim installed,
border-radius
is highlighted as separate strings: