Mercurial > vim
annotate runtime/syntax/scss.vim @ 17510:a5427e35d0fb v8.1.1753
patch 8.1.1753: use of popup window mask is inefficient
commit https://github.com/vim/vim/commit/e865dcbce1ea2fcdc172b7d47d320cd40f91b917
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 26 22:15:50 2019 +0200
patch 8.1.1753: use of popup window mask is inefficient
Problem: Use of popup window mask is inefficient.
Solution: Precompute and cache the mask.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Jul 2019 22:30:07 +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: |