wdiff.vim 716 B

123456789101112131415161718192021222324252627282930
  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. " quit when a syntax file was already loaded
  11. if exists("b:current_syntax")
  12. finish
  13. endif
  14. syn region wdiffOld start=+\[-+ end=+-]+
  15. syn region wdiffNew start="{+" end="+}"
  16. " Define the default highlighting.
  17. " Only when an item doesn't have highlighting yet
  18. hi def link wdiffOld Special
  19. hi def link wdiffNew Identifier
  20. let b:current_syntax = "wdiff"