Mercurial > ec-dotfiles
annotate vendor/vim-syntax/scss.vim @ 746:6b7f6f09b8d1 default tip
[vimrc] fix php syntax highlight
Example file: https://github.com/ppy/osu-web/blob/e23658f45ac2e85d78bd339947e0d1cee57629c6/app/Libraries/BBCodeFromDB.php
(around the end)
| author | nanaya <me@nanaya.net> | 
|---|---|
| date | Wed, 29 Oct 2025 12:28:45 +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: 
393diff
changeset | 2 " Language: SCSS | 
| 
bbcffc594d1e
Vendor what should be vendored and add some more.
 edogawaconan <me@myconan.net> parents: 
393diff
changeset | 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | 
| 
bbcffc594d1e
Vendor what should be vendored and add some more.
 edogawaconan <me@myconan.net> parents: 
393diff
changeset | 4 " Filenames: *.scss | 
| 634 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
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: 
393diff
changeset | 11 runtime! syntax/sass.vim | 
| 393 | 12 | 
| 634 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
changeset | 13 syn clear sassComment | 
| 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
changeset | 14 syn clear sassCssComment | 
| 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
changeset | 15 syn clear sassEndOfLineComment | 
| 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
changeset | 16 | 
| 508 
bbcffc594d1e
Vendor what should be vendored and add some more.
 edogawaconan <me@myconan.net> parents: 
393diff
changeset | 17 syn match scssComment "//.*" contains=sassTodo,@Spell | 
| 634 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
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: 
508diff
changeset | 20 hi def link scssCssComment scssComment | 
| 
ced2ee9efd9f
Update various syntaxes to the ones in vim repo
 nanaya <me@nanaya.pro> parents: 
508diff
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: 
393diff
changeset | 24 | 
| 
bbcffc594d1e
Vendor what should be vendored and add some more.
 edogawaconan <me@myconan.net> parents: 
393diff
changeset | 25 " vim:set sw=2: | 
