Install vim73
[msysgit/mtrensch.git] / share / vim / vim73 / syntax / rcslog.vim
blobacacfa124b99c5128b01981cecb615896edb2970
1 " Vim syntax file
2 " Language:     RCS log output
3 " Maintainer:   Joe Karthauser <joe@freebsd.org>
4 " Last Change:  2001 May 09
6 " For version 5.x: Clear all syntax items
7 " For version 6.x: Quit when a syntax file was already loaded
8 if version < 600
9   syntax clear
10 elseif exists("b:current_syntax")
11   finish
12 endif
14 syn match rcslogRevision        "^revision.*$"
15 syn match rcslogFile            "^RCS file:.*"
16 syn match rcslogDate            "^date: .*$"
18 " Define the default highlighting.
19 " For version 5.7 and earlier: only when not done already
20 " For version 5.8 and later: only when an item doesn't have highlighting yet
21 if version >= 508 || !exists("did_rcslog_syntax_inits")
22   if version < 508
23     let did_rcslog_syntax_inits = 1
24     command -nargs=+ HiLink hi link <args>
25   else
26     command -nargs=+ HiLink hi def link <args>
27   endif
29   HiLink rcslogFile             Type
30   HiLink rcslogRevision Constant
31   HiLink rcslogDate             Identifier
33   delcommand HiLink
34 endif
36 let b:current_syntax = "rcslog"
38 " vim: ts=8