Closed sriedel closed 12 years ago
Unfortunately, this script only work with standard CSS file.
Sass syntax script requires the original CSS syntax script, or any script that follows original's design pattern.
I didn't follow the design pattern for some purposes.
For example, original doesn't support indicating if there's a prefix like -webkit-
or which part is a unit like px
.
And according of feature voting in vim.org, the next big version may introduce Python as built-in script language.
I'm waiting for it.
For now, I suggest you to try css3 syntax or vim-css3-syntax.
Or if you wanna use my script, there's two ways:
sass.vim
, go to line 16, delete cssValue.*,
or
.vimrc
, add au BufRead,BufNewFile *.sass set filetype=css
Thanks for your reply. You may want to add the .vimrc config snippet to your readme, as I ran into the error while relying on vims default behavior (it could also come from the rails.vim plugin, not entirely sure there). I'm sure other people will encounter the warnings as well :)
After installing Better CSS Syntax, when I open a SASS file, I get the following errors and warnings displayed by vim: