comparison runtime/syntax/diff.vim @ 5425:9521463d4fc1

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Sun, 03 Nov 2013 21:14:31 +0100
parents 11cd8d58372e
children c5d53d4c3e2e
comparison
equal deleted inserted replaced
5424:ed761b26334f 5425:9521463d4fc1
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Diff (context or unified) 2 " Language: Diff (context or unified)
3 " Maintainer: Bram Moolenaar <Bram@vim.org> 3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Translations by Jakson Alves de Aquino. 4 " Translations by Jakson Alves de Aquino.
5 " Last Change: 2013 Jul 24 5 " Last Change: 2013 Oct 06
6 6
7 " Quit when a (custom) syntax file was already loaded 7 " Quit when a (custom) syntax file was already loaded
8 if exists("b:current_syntax") 8 if exists("b:current_syntax")
9 finish 9 finish
10 endif 10 endif
334 syn match diffLine "^---$" 334 syn match diffLine "^---$"
335 335
336 "Some versions of diff have lines like "#c#" and "#d#" (where # is a number) 336 "Some versions of diff have lines like "#c#" and "#d#" (where # is a number)
337 syn match diffLine "^\d\+\(,\d\+\)\=[cda]\d\+\>.*" 337 syn match diffLine "^\d\+\(,\d\+\)\=[cda]\d\+\>.*"
338 338
339 syn match diffFile "^diff.*" 339 syn match diffFile "^diff\>.*"
340 syn match diffFile "^+++ .*" 340 syn match diffFile "^+++ .*"
341 syn match diffFile "^Index: .*" 341 syn match diffFile "^Index: .*"
342 syn match diffFile "^==== .*" 342 syn match diffFile "^==== .*"
343 syn match diffOldFile "^\*\*\* .*" 343 syn match diffOldFile "^\*\*\* .*"
344 syn match diffNewFile "^--- .*" 344 syn match diffNewFile "^--- .*"