annotate runtime/ftplugin/sass.vim @ 7021:47680d36e484 v7.4.827

patch 7.4.827 Problem: Not all test targets are in the Makefile. Solution: Add the missing targets.
author Bram Moolenaar <bram@vim.org>
date Tue, 18 Aug 2015 13:48:54 +0200
parents 8f017e31750f
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
1 " Vim filetype plugin
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
2 " Language: Sass
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
4 " Last Change: 2010 Jul 26
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
5
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
6 " Only do this when not done yet for this buffer
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
7 if exists("b:did_ftplugin")
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
8 finish
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
9 endif
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
10 let b:did_ftplugin = 1
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
11
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
12 let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
13
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
14 setlocal commentstring=//\ %s
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
15 setlocal define=^\\s*\\%(@mixin\\\|=\\)
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
16 setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
17 setlocal omnifunc=csscomplete#CompleteCSS
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
18 setlocal suffixesadd=.sass,.scss,.css
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
19
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2202
diff changeset
20 let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
21
0b796e045c42 updated for version 7.2b-000
vimboss
parents:
diff changeset
22 " vim:set sw=2: