Mercurial > vim
annotate runtime/ftplugin/sass.vim @ 12382:4a9568a1ea5f
Added tag v8.0.1070 for changeset d3f8f1c33a2054957585cc6fa2a51573bec725ad
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Sep 2017 22:30:06 +0200 |
parents | 43efa4f5a8ea |
children | 5c40013d45ee |
rev | line source |
---|---|
1668 | 1 " Vim filetype plugin |
2415 | 2 " Language: Sass |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2415
diff
changeset
|
4 " Last Change: 2016 Aug 29 |
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 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2415
diff
changeset
|
12 let b:undo_ftplugin = "setl com< cms< def< inc< inex< ofu< sua<" |
1668 | 13 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2415
diff
changeset
|
14 setlocal comments=:// |
1668 | 15 setlocal commentstring=//\ %s |
2415 | 16 setlocal define=^\\s*\\%(@mixin\\\|=\\) |
17 setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','') | |
1668 | 18 setlocal omnifunc=csscomplete#CompleteCSS |
2415 | 19 setlocal suffixesadd=.sass,.scss,.css |
1668 | 20 |
2415 | 21 let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\=' |
1668 | 22 |
23 " vim:set sw=2: |