Mercurial > ec-dotfiles
annotate vendor/vim-syntax/scss.vim @ 667:6887e66d83b4
[vim] The specialthing color is way better using the provided theme
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 11 Dec 2021 18:28:16 +0900 |
parents | ced2ee9efd9f |
children |
rev | line source |
---|---|
393 | 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 | 6 |
7 if exists("b:current_syntax") | |
8 finish | |
9 endif | |
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 | 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 | 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 | 22 |
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: |