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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2415
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: SCSS
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Filenames: *.scss
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 " Last Change: 2010 Jul 26
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 finish
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 endif
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 runtime! syntax/sass.vim
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 syn match scssComment "//.*" contains=sassTodo,@Spell
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 syn region scssComment start="/\*" end="\*/" contains=sassTodo,@Spell
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 hi def link scssComment sassComment
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 let b:current_syntax = "scss"
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
8f017e31750f Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 " vim:set sw=2: