annotate runtime/syntax/scss.vim @ 11354:129077fb57e6 v8.0.0562

patch 8.0.0562: not enough test coverage for syntax commands commit https://github.com/vim/vim/commit/ea588154d00aec288e48b344b2685e46bea99cd6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 10 22:45:30 2017 +0200 patch 8.0.0562: not enough test coverage for syntax commands Problem: Not enough test coverage for syntax commands. Solution: Add a few more tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/1624)
author Christian Brabandt <cb@256bit.org>
date Mon, 10 Apr 2017 23:00:03 +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: