wdiff.vim (716B)
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 12 " quit when a syntax file was already loaded 13 if exists("b:current_syntax") 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. 23 " Only when an item doesn't have highlighting yet 24 25 hi def link wdiffOld Special 26 hi def link wdiffNew Identifier 27 28 29 let b:current_syntax = "wdiff"