]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/ftplugin/sass.vim
Add license
[rbdr/dotfiles] / vim / ftplugin / sass.vim
... / ...
CommitLineData
1" Vim filetype plugin
2" Language: Sass
3" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
4" Last Change: 2010 Jul 26
5
6" Only do this when not done yet for this buffer
7if exists("b:did_ftplugin")
8 finish
9endif
10let b:did_ftplugin = 1
11
12let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"
13
14setlocal commentstring=//\ %s
15setlocal define=^\\s*\\%(@mixin\\\|=\\)
16setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
17setlocal omnifunc=csscomplete#CompleteCSS
18setlocal suffixesadd=.sass,.scss,.css
19
20let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
21
22" vim:set sw=2: