2 " Language: cvs(1) RC file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19
6 if exists("b:current_syntax")
13 syn region cvsrcString display oneline start=+"+ skip=+\\\\\|\\\\"+ end=+"+
14 syn region cvsrcString display oneline start=+'+ skip=+\\\\\|\\\\'+ end=+'+
16 syn match cvsrcNumber display '\<\d\+\>'
18 syn match cvsrcBegin display '^' nextgroup=cvsrcCommand skipwhite
20 syn region cvsrcCommand contained transparent matchgroup=cvsrcCommand
21 \ start='add\|admin\|checkout\|commit\|cvs\|diff'
22 \ start='export\|history\|import\|init\|log'
23 \ start='rdiff\|release\|remove\|rtag\|status\|tag'
26 \ contains=cvsrcOption,cvsrcString,cvsrcNumber
29 syn match cvsrcOption contained display '-\a\+'
31 hi def link cvsrcString String
32 hi def link cvsrcNumber Number
33 hi def link cvsrcCommand Keyword
34 hi def link cvsrcOption Identifier
36 let b:current_syntax = "cvsrc"