Mercurial > vim
comparison runtime/ftplugin/sass.vim @ 2415:8f017e31750f vim73
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 26 Jul 2010 22:21:27 +0200 |
parents | f7579a31705c |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
2414:5bd81e397907 | 2415:8f017e31750f |
---|---|
1 " Vim filetype plugin | 1 " Vim filetype plugin |
2 " Language: Sass | 2 " Language: Sass |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> |
4 " Last Change: 2010 May 21 | 4 " Last Change: 2010 Jul 26 |
5 | 5 |
6 " Only do this when not done yet for this buffer | 6 " Only do this when not done yet for this buffer |
7 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
8 finish | 8 finish |
9 endif | 9 endif |
10 let b:did_ftplugin = 1 | 10 let b:did_ftplugin = 1 |
11 | 11 |
12 let b:undo_ftplugin = "setl cms< inc< ofu<" | 12 let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<" |
13 | 13 |
14 setlocal commentstring=//\ %s | 14 setlocal commentstring=//\ %s |
15 setlocal define=^\\s*\\%(@mixin\\\|=\\) | |
16 setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') | |
15 setlocal omnifunc=csscomplete#CompleteCSS | 17 setlocal omnifunc=csscomplete#CompleteCSS |
18 setlocal suffixesadd=.sass,.scss,.css | |
16 | 19 |
17 let &l:include = '^\s*@import\s\+\%(url(\)\=' | 20 let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' |
18 | 21 |
19 " vim:set sw=2: | 22 " vim:set sw=2: |