annotate vendor/vim-syntax/scss.vim @ 688:17cacf387f7c

Update vendor ...also update scripts to support syntax subdirectories
author nanaya <me@nanaya.pro>
date Fri, 21 Oct 2022 20:17:06 +0900
parents ced2ee9efd9f
children
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
634
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
5 " Last Change: 2019 Dec 05
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
634
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
13 syn clear sassComment
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
14 syn clear sassCssComment
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
15 syn clear sassEndOfLineComment
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
16
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
17 syn match scssComment "//.*" contains=sassTodo,@Spell
634
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
18 syn region scssCssComment start="/\*" end="\*/" contains=sassTodo,@Spell
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19
634
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
20 hi def link scssCssComment scssComment
ced2ee9efd9f Update various syntaxes to the ones in vim repo
nanaya <me@nanaya.pro>
parents: 508
diff changeset
21 hi def link scssComment Comment
393
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
22
0aabb2b34ef6 Added scss vim syntax support.
Edho Arief <edho@myconan.net>
parents:
diff changeset
23 let b:current_syntax = "scss"
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
24
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents: 393
diff changeset
25 " vim:set sw=2: