Mercurial > vim
annotate runtime/syntax/change.vim @ 31033:3ad8db9a1e03 v9.0.0851
patch 9.0.0851: terminal mouse test is still flaky
Commit: https://github.com/vim/vim/commit/1d139a012e8b9880885c6f45796437cbee4820c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 10 00:09:22 2022 +0000
patch 9.0.0851: terminal mouse test is still flaky
Problem: Terminal mouse test is still flaky.
Solution: Also use WaitForAssert().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Nov 2022 01:15:03 +0100 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: WEB Changes | |
3 " Maintainer: Andreas Scherer <andreas.scherer@pobox.com> | |
4 " Last Change: April 25, 2001 | |
5 | |
6 " Details of the change mechanism of the WEB and CWEB languages can be found | |
7 " in the articles by Donald E. Knuth and Silvio Levy cited in "web.vim" and | |
8 " "cweb.vim" respectively. | |
9 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
10 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
11 if exists("b:current_syntax") |
7 | 12 finish |
13 endif | |
14 | |
15 " We distinguish two groups of material, (a) stuff between @x..@y, and | |
16 " (b) stuff between @y..@z. WEB/CWEB ignore everything else in a change file. | |
17 syn region changeFromMaterial start="^@x.*$"ms=e+1 end="^@y.*$"me=s-1 | |
18 syn region changeToMaterial start="^@y.*$"ms=e+1 end="^@z.*$"me=s-1 | |
19 | |
20 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
21 " Only when an item doesn't have highlighting yet |
7 | 22 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
23 hi def link changeFromMaterial String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
24 hi def link changeToMaterial Statement |
7 | 25 |
26 | |
27 let b:current_syntax = "change" | |
28 | |
29 " vim: ts=8 |