Mercurial > vim
annotate runtime/syntax/wdiff.vim @ 16756:ad0ef98aa5ed v8.1.1380
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set
commit https://github.com/vim/vim/commit/fa8f861957f4f9f7a0946d9d61fe90a9882f54e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 24 17:05:44 2019 +0200
patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set
Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set.
Solution: Invert condition. (closes https://github.com/vim/vim/issues/4422)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 May 2019 17:15:05 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: wDiff (wordwise diff) | |
3 " Maintainer: Gerfried Fuchs <alfie@ist.org> | |
4 " Last Change: 25 Apr 2001 | |
5 " URL: http://alfie.ist.org/vim/syntax/wdiff.vim | |
6 " | |
7 " Comments are very welcome - but please make sure that you are commenting on | |
8 " the latest version of this file. | |
9 " SPAM is _NOT_ welcome - be ready to be reported! | |
10 | |
11 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
12 " 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
|
13 if exists("b:current_syntax") |
7 | 14 finish |
15 endif | |
16 | |
17 | |
18 syn region wdiffOld start=+\[-+ end=+-]+ | |
19 syn region wdiffNew start="{+" end="+}" | |
20 | |
21 | |
22 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
23 " Only when an item doesn't have highlighting yet |
7 | 24 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
25 hi def link wdiffOld Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
26 hi def link wdiffNew Identifier |
7 | 27 |
28 | |
29 let b:current_syntax = "wdiff" |