I just downloaded a Vim plugin for Sass syntax highlight.
The instructions say:
install details put it into syntax directory and add sass filetype
au! BufRead,BufNewFile *.sass
setfiletype sassin your filetype.vim
I already placed sass.vim in vimfiles/syntax/
(using windows).
And created a filetype.vim file with the code above ( au! Buf... ) in all the following directories:
but no one worked (I even typed the au! Buf... code in my vimrc).
My .sass files still looking like this:
alt text http://img193.imageshack.us/img193/4791/sassi.png
any suggestions?
I don't know an easy fix, but try checking some vim settings with the following commands:
:syntax enable
:filetype
:set filetype?
:set runtimepath?
:runtime! vimfiles/syntax/sass.vim
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.