From 029f72b1a93430b24b88eb3a72c6114d9f149737 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:09:20 +0200 Subject: Adding upstream version 2:9.1.0016. Signed-off-by: Daniel Baumann --- runtime/syntax/wdiff.vim | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 runtime/syntax/wdiff.vim (limited to 'runtime/syntax/wdiff.vim') diff --git a/runtime/syntax/wdiff.vim b/runtime/syntax/wdiff.vim new file mode 100644 index 0000000..d0afadf --- /dev/null +++ b/runtime/syntax/wdiff.vim @@ -0,0 +1,29 @@ +" Vim syntax file +" Language: wDiff (wordwise diff) +" Maintainer: Gerfried Fuchs +" Last Change: 25 Apr 2001 +" URL: http://alfie.ist.org/vim/syntax/wdiff.vim +" +" Comments are very welcome - but please make sure that you are commenting on +" the latest version of this file. +" SPAM is _NOT_ welcome - be ready to be reported! + + +" quit when a syntax file was already loaded +if exists("b:current_syntax") + finish +endif + + +syn region wdiffOld start=+\[-+ end=+-]+ +syn region wdiffNew start="{+" end="+}" + + +" Define the default highlighting. +" Only when an item doesn't have highlighting yet + +hi def link wdiffOld Special +hi def link wdiffNew Identifier + + +let b:current_syntax = "wdiff" -- cgit v1.2.3