Mercurial > vim
annotate runtime/syntax/scss.vim @ 3018:45ead8a0bede v7.3.281
updated for version 7.3.281
Problem: After using "expand('%:8')" the buffer name is changed.
Solution: Make a copy of the file name before shortening it.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 17 Aug 2011 15:23:23 +0200 |
parents | 8f017e31750f |
children | 5c40013d45ee |
rev | line source |
---|---|
2415 | 1 " Vim syntax file |
2 " Language: SCSS | |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | |
4 " Filenames: *.scss | |
5 " Last Change: 2010 Jul 26 | |
6 | |
7 if exists("b:current_syntax") | |
8 finish | |
9 endif | |
10 | |
11 runtime! syntax/sass.vim | |
12 | |
13 syn match scssComment "//.*" contains=sassTodo,@Spell | |
14 syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell | |
15 | |
16 hi def link scssComment sassComment | |
17 | |
18 let b:current_syntax = "scss" | |
19 | |
20 " vim:set sw=2: |