annotate runtime/syntax/cdrdaoconf.vim @ 17553:76f2afc8cd93 v8.1.1774

patch 8.1.1774: test is silently skipped commit https://github.com/vim/vim/commit/3c610c96389bbb5f0fc83f0a515fc8f1b7f515e4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 29 21:03:45 2019 +0200 patch 8.1.1774: test is silently skipped Problem: Test is silently skipped. Solution: Throw "Skipped".
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Jul 2019 21:15:07 +0200
parents 1218c5353e2b
children
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
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
2 " Language: cdrdao(1) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
4 " Latest Revision: 2007-09-02
1624
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