annotate runtime/syntax/cdrdaoconf.vim @ 10721:9177c4f6a229

Added tag v8.0.0250 for changeset 44a1661f4cfaa091f12206458ff6ab8e9c122803
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Jan 2017 14:00:05 +0100
parents 18ee39301b82
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim syntax file
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
2 " Language: cdrdao(1) configuration file
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
4 " Latest Revision: 2007-09-02
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
5
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
7 finish
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
8 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
9
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
11 set cpo&vim
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
12
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
13 syn keyword cdrdaoconfTodo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
14 \ TODO FIXME XXX NOTE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
15
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
16 syn match cdrdaoconfBegin
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
17 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
18 \ nextgroup=@cdrdaoconfKeyword,cdrdaoconfComment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
19 \ '^'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
20
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
21 syn cluster cdrdaoconfKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
22 \ contains=cdrdaoconfIntegerKeyword,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
23 \ cdrdaoconfDriverKeyword,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
24 \ cdrdaoconfDeviceKeyword,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
25 \ cdrdaoconfPathKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
26
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
27 syn keyword cdrdaoconfIntegerKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
28 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
29 \ nextgroup=cdrdaoconfIntegerDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
30 \ write_speed
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
31 \ write_buffers
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
32 \ user_capacity
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
33 \ full_burn
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
34 \ read_speed
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
35 \ cddb_timeout
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
36
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
37 syn keyword cdrdaoconfIntegerKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
38 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
39 \ nextgroup=cdrdaoconfParanoiaModeDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
40 \ read_paranoia_mode
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
41
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
42 syn keyword cdrdaoconfDriverKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
43 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
44 \ nextgroup=cdrdaoconfDriverDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
45 \ write_driver
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
46 \ read_driver
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
47
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
48 syn keyword cdrdaoconfDeviceKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
49 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
50 \ nextgroup=cdrdaoconfDeviceDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
51 \ write_device
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
52 \ read_device
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
53
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
54 syn keyword cdrdaoconfPathKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
55 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
56 \ nextgroup=cdrdaoconfPathDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
57 \ cddb_directory
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
58 \ tmp_file_dir
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
59
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
60 syn match cdrdaoconfIntegerDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
61 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
62 \ nextgroup=cdrdaoconfInteger
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
63 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
64 \ ':'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
65
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
66 syn match cdrdaoconfParanoiaModeDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
67 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
68 \ nextgroup=cdrdaoconfParanoiaMode
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
69 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
70 \ ':'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
71
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
72 syn match cdrdaoconfDriverDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
73 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
74 \ nextgroup=cdrdaoconfDriver
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
75 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
76 \ ':'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
77
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
78 syn match cdrdaoconfDeviceDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
79 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
80 \ nextgroup=cdrdaoconfDevice
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
81 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
82 \ ':'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
83
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
84 syn match cdrdaoconfPathDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
85 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
86 \ nextgroup=cdrdaoconfPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
87 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
88 \ ':'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
89
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
90 syn match cdrdaoconfInteger
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
91 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
92 \ '\<\d\+\>'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
93
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
94 syn match cdrdaoParanoiaMode
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
95 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
96 \ '[0123]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
97
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
98 syn match cdrdaoconfDriver
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
99 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
100 \ '\<\(cdd2600\|generic-mmc\%(-raw\)\=\|plextor\%(-scan\)\|ricoh-mp6200\|sony-cdu9\%(20\|48\)\|taiyo-yuden\|teac-cdr55\|toshiba\|yamaha-cdr10x\)\>'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
101
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
102 syn region cdrdaoconfDevice
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
103 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
104 \ matchgroup=cdrdaoconfDevice
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
105 \ start=+"+
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
106 \ end=+"+
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
107
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
108 syn region cdrdaoconfPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
109 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
110 \ matchgroup=cdrdaoconfPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
111 \ start=+"+
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
112 \ end=+"+
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
113
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
114 syn match cdrdaoconfComment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
115 \ contains=cdrdaoconfTodo,@Spell
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
116 \ '^.*#.*$'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
117
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
118 hi def link cdrdaoconfTodo Todo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
119 hi def link cdrdaoconfComment Comment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
120 hi def link cdrdaoconfKeyword Keyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
121 hi def link cdrdaoconfIntegerKeyword cdrdaoconfKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
122 hi def link cdrdaoconfDriverKeyword cdrdaoconfKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
123 hi def link cdrdaoconfDeviceKeyword cdrdaoconfKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
124 hi def link cdrdaoconfPathKeyword cdrdaoconfKeyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
125 hi def link cdrdaoconfDelimiter Delimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
126 hi def link cdrdaoconfIntegerDelimiter cdrdaoconfDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
127 hi def link cdrdaoconfDriverDelimiter cdrdaoconfDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
128 hi def link cdrdaoconfDeviceDelimiter cdrdaoconfDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
129 hi def link cdrdaoconfPathDelimiter cdrdaoconfDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
130 hi def link cdrdaoconfInteger Number
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
131 hi def link cdrdaoconfParanoiaMode Number
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
132 hi def link cdrdaoconfDriver Identifier
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
133 hi def link cdrdaoconfDevice cdrdaoconfPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
134 hi def link cdrdaoconfPath String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
135
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
136 let b:current_syntax = "cdrdaoconf"
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
137
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
138 let &cpo = s:cpo_save
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
139 unlet s:cpo_save