2 " Language: cdrdao(1) configuration file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2007-09-02
6 if exists("b:current_syntax")
13 syn keyword cdrdaoconfTodo
16 syn match cdrdaoconfBegin
18 \ nextgroup=@cdrdaoconfKeyword,cdrdaoconfComment
21 syn cluster cdrdaoconfKeyword
22 \ contains=cdrdaoconfIntegerKeyword,
23 \ cdrdaoconfDriverKeyword,
24 \ cdrdaoconfDeviceKeyword,
25 \ cdrdaoconfPathKeyword
27 syn keyword cdrdaoconfIntegerKeyword
29 \ nextgroup=cdrdaoconfIntegerDelimiter
37 syn keyword cdrdaoconfIntegerKeyword
39 \ nextgroup=cdrdaoconfParanoiaModeDelimiter
42 syn keyword cdrdaoconfDriverKeyword
44 \ nextgroup=cdrdaoconfDriverDelimiter
48 syn keyword cdrdaoconfDeviceKeyword
50 \ nextgroup=cdrdaoconfDeviceDelimiter
54 syn keyword cdrdaoconfPathKeyword
56 \ nextgroup=cdrdaoconfPathDelimiter
60 syn match cdrdaoconfIntegerDelimiter
62 \ nextgroup=cdrdaoconfInteger
66 syn match cdrdaoconfParanoiaModeDelimiter
68 \ nextgroup=cdrdaoconfParanoiaMode
72 syn match cdrdaoconfDriverDelimiter
74 \ nextgroup=cdrdaoconfDriver
78 syn match cdrdaoconfDeviceDelimiter
80 \ nextgroup=cdrdaoconfDevice
84 syn match cdrdaoconfPathDelimiter
86 \ nextgroup=cdrdaoconfPath
90 syn match cdrdaoconfInteger
94 syn match cdrdaoParanoiaMode
98 syn match cdrdaoconfDriver
100 \ '\<\(cdd2600\|generic-mmc\%(-raw\)\=\|plextor\%(-scan\)\|ricoh-mp6200\|sony-cdu9\%(20\|48\)\|taiyo-yuden\|teac-cdr55\|toshiba\|yamaha-cdr10x\)\>'
102 syn region cdrdaoconfDevice
104 \ matchgroup=cdrdaoconfDevice
108 syn region cdrdaoconfPath
110 \ matchgroup=cdrdaoconfPath
114 syn match cdrdaoconfComment
115 \ contains=cdrdaoconfTodo,@Spell
118 hi def link cdrdaoconfTodo Todo
119 hi def link cdrdaoconfComment Comment
120 hi def link cdrdaoconfKeyword Keyword
121 hi def link cdrdaoconfIntegerKeyword cdrdaoconfKeyword
122 hi def link cdrdaoconfDriverKeyword cdrdaoconfKeyword
123 hi def link cdrdaoconfDeviceKeyword cdrdaoconfKeyword
124 hi def link cdrdaoconfPathKeyword cdrdaoconfKeyword
125 hi def link cdrdaoconfDelimiter Delimiter
126 hi def link cdrdaoconfIntegerDelimiter cdrdaoconfDelimiter
127 hi def link cdrdaoconfDriverDelimiter cdrdaoconfDelimiter
128 hi def link cdrdaoconfDeviceDelimiter cdrdaoconfDelimiter
129 hi def link cdrdaoconfPathDelimiter cdrdaoconfDelimiter
130 hi def link cdrdaoconfInteger Number
131 hi def link cdrdaoconfParanoiaMode Number
132 hi def link cdrdaoconfDriver Identifier
133 hi def link cdrdaoconfDevice cdrdaoconfPath
134 hi def link cdrdaoconfPath String
136 let b:current_syntax = "cdrdaoconf"
138 let &cpo = s:cpo_save