annotate runtime/syntax/scss.vim @ 11698:4f59d2a66bf7 v8.0.0732

patch 8.0.0732: when updating a buffer modeless selection is lost commit https://github.com/vim/vim/commit/80dd3f9d41ce2ff6ab3544cdb266627bbdfc34a6 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 19 12:51:52 2017 +0200 patch 8.0.0732: when updating a buffer modeless selection is lost Problem: When updating a buffer for a callback the modeless selection is lost. Solution: Do not insert or delete screen lines when redrawing for a callback and there is a modeless selection.
author Christian Brabandt <cb@256bit.org>
date Wed, 19 Jul 2017 13: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: