annotate runtime/syntax/scss.vim @ 8657:c70eea7a7677 v7.4.1618

commit https://github.com/vim/vim/commit/a4f6ca717b4483eb82c6c71f71a5a5cf70e55d80 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 20 17:28:35 2016 +0100 patch 7.4.1618 Problem: Starting job with output to buffer changes options in the current buffer. Solution: Set "curbuf" earlier. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sun, 20 Mar 2016 17:30:05 +0100
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: