annotate vendor/vim-syntax/scss.vim @ 570:3bd22b75cdc4

Make sure autocmd is executed when vim has it.
author nanaya <me@myconan.net>
date Wed, 24 Jun 2015 13:33:02 +0900
parents bbcffc594d1e
children ced2ee9efd9f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 " Vim syntax file
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
2 " Language: SCSS
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
4 " Filenames: *.scss
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
5 " Last Change: 2010 Jul 26
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 if exists("b:current_syntax")
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 finish
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 endif
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
11 runtime! syntax/sass.vim
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
13 syn match scssComment "//.*" contains=sassTodo,@Spell
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
14 syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
16 hi def link scssComment sassComment
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18 let b:current_syntax = "scss"
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
19
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
20 " vim:set sw=2: