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