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
10 elseif exists("b:current_syntax")
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")
23 let did_rcslog_syntax_inits = 1
24 command -nargs=+ HiLink hi link <args>
26 command -nargs=+ HiLink hi def link <args>
29 HiLink rcslogFile Type
30 HiLink rcslogRevision Constant
31 HiLink rcslogDate Identifier
36 let b:current_syntax = "rcslog"