annotate runtime/syntax/cmusrc.vim @ 16356:1759d0ec0a6f v8.1.1183

patch 8.1.1183: typos in VisVim comments commit https://github.com/vim/vim/commit/b49e3563b920ff6d96b88a1f658182a986b2b1ea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 17 18:31:18 2019 +0200 patch 8.1.1183: typos in VisVim comments Problem: Typos in VisVim comments. Solution: Correct the typos. (Christ van Willegen)
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Apr 2019 18:45:04 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1619
diff changeset
2 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1619
diff changeset
3 " Latest Revision: 2007-06-17
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
4
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
5 if exists("b:current_syntax")
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
6 finish
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
7 endif
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
8
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
9 let s:cpo_save = &cpo
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
10 set cpo&vim
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
11
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1121
diff changeset
12 setlocal iskeyword+=-
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
13
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
14 syn keyword cmusrcTodo contained TODO FIXME XXX NOTE
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
15
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
16 syn match cmusrcComment contained display '^\s*#.*$'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
17
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
18 syn match cmusrcBegin display '^'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
19 \ nextgroup=cmusrcKeyword,cmusrcComment
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
20 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
21
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
22 syn keyword cmusrcKeyword contained add
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
23 \ nextgroup=cmusrcAddSwitches,cmusrcURI
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
24 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
25
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
26 syn match cmusrcAddSwitches contained display '-[lpqQ]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
27 \ nextgroup=cmusrcURI
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
28 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
29
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
30 syn match cmusrcURI contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
31
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
32 syn keyword cmusrcKeyword contained bind
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
33 \ nextgroup=cmusrcBindSwitches,
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
34 \ cmusrcBindContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
35 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
36
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
37 syn match cmusrcBindSwitches contained display '-[f]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
38 \ nextgroup=cmusrcBindContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
39 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
40
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
41 syn keyword cmusrcBindContext contained common library playlist queue
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
42 \ browser filters
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
43 \ nextgroup=cmusrcBindKey
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
44 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
45
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
46 syn match cmusrcBindKey contained display '\S\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
47 \ nextgroup=cmusrcKeyword
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
48 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
49
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
50 syn keyword cmusrcKeyword contained browser-up colorscheme echo factivate
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
51 \ filter invert player-next player-pause
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
52 \ player-play player-prev player-stop quit
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
53 \ refresh run search-next search-prev shuffle
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
54 \ unmark win-activate win-add-l win-add-p
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
55 \ win-add-Q win-add-q win-bottom win-down
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
56 \ win-mv-after win-mv-before win-next
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
57 \ win-page-down win-page-up win-remove
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
58 \ win-sel-cur win-toggle win-top win-up
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
59 \ win-update
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
60
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
61 syn keyword cmusrcKeyword contained cd
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
62 \ nextgroup=cmusrcDirectory
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
63 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
64
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
65 syn match cmusrcDirectory contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
66
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
67 syn keyword cmusrcKeyword contained clear
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
68 \ nextgroup=cmusrcClearSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
69
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
70 syn match cmusrcClearSwitches contained display '-[lpq]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
71
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
72 syn keyword cmusrcKeyword contained fset
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
73 \ nextgroup=cmusrcFSetName
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
74 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
75
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
76 syn match cmusrcFSetName contained display '[^=]\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
77 \ nextgroup=cmusrcFSetEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
78
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
79 syn match cmusrcFSetEq contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
80 \ nextgroup=cmusrcFilterExpr
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
81
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
82 syn match cmusrcFilterExpr contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
83
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
84 syn keyword cmusrcKeyword contained load
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
85 \ nextgroup=cmusrcLoadSwitches,cmusrcURI
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
86 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
87
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
88 syn match cmusrcLoadSwitches contained display '-[lp]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
89 \ nextgroup=cmusrcURI
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
90 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
91
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
92 syn keyword cmusrcKeyword contained mark
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
93 \ nextgroup=cmusrcFilterExpr
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
94
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
95 syn keyword cmusrcKeyword contained save
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
96 \ nextgroup=cmusrcSaveSwitches,cmusrcFile
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
97 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
98
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
99 syn match cmusrcSaveSwitches contained display '-[lp]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
100 \ nextgroup=cmusrcFile
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
101 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
102
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
103 syn match cmusrcFile contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
104
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
105 syn keyword cmusrcKeyword contained seek
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
106 \ nextgroup=cmusrcSeekOffset
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
107 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
108
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
109 syn match cmusrcSeekOffset contained display
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
110 \ '[+-]\=\%(\d\+[mh]\=\|\%(\%(0\=\d\|[1-5]\d\):\)\=\%(0\=\d\|[1-5]\d\):\%(0\=\d\|[1-5]\d\)\)'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
111
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
112 syn keyword cmusrcKeyword contained set
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
113 \ nextgroup=cmusrcOption
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
114 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
115
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
116 syn keyword cmusrcOption contained auto_reshuffle confirm_run
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
117 \ continue play_library play_sorted repeat
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
118 \ show_hidden show_remaining_time shuffle
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
119 \ nextgroup=cmusrcSetTest,cmusrcOptEqBoolean
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
120
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
121 syn match cmusrcSetTest contained display '?'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
122
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
123 syn match cmusrcOptEqBoolean contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
124 \ nextgroup=cmusrcOptBoolean
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
125
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
126 syn keyword cmusrcOptBoolean contained true false
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
127
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
128 syn keyword cmusrcOption contained aaa_mode
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
129 \ nextgroup=cmusrcOptEqAAA
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
130
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
131 syn match cmusrcOptEqAAA contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
132 \ nextgroup=cmusrcOptAAA
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
133
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
134 syn keyword cmusrcOptAAA contained all artist album
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
135
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
136 syn keyword cmusrcOption contained buffer_seconds
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
137 \ nextgroup=cmusrcOptEqNumber
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
138
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
139 syn match cmusrcOptEqNumber contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
140 \ nextgroup=cmusrcOptNumber
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
141
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
142 syn match cmusrcOptNumber contained display '\d\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
143
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
144 syn keyword cmusrcOption contained altformat_current altformat_playlist
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
145 \ altformat_title altformat_trackwin
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
146 \ format_current format_playlist format_title
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
147 \ format_trackwin
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
148 \ nextgroup=cmusrcOptEqFormat
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
149
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
150 syn match cmusrcOptEqFormat contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
151 \ nextgroup=cmusrcOptFormat
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
152
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
153 syn match cmusrcOptFormat contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
154 \ contains=cmusrcFormatSpecial
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
155
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
156 syn match cmusrcFormatSpecial contained display '%[0-]*\d*[alDntgydfF=%]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
157
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
158 syn keyword cmusrcOption contained color_cmdline_bg color_cmdline_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
159 \ color_error color_info color_separator
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
160 \ color_statusline_bg color_statusline_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
161 \ color_titleline_bg color_titleline_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
162 \ color_win_bg color_win_cur
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
163 \ color_win_cur_sel_bg color_win_cur_sel_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
164 \ color_win_dir color_win_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
165 \ color_win_inactive_cur_sel_bg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
166 \ color_win_inactive_cur_sel_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
167 \ color_win_inactive_sel_bg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
168 \ color_win_inactive_sel_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
169 \ color_win_sel_bg color_win_sel_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
170 \ color_win_title_bg color_win_title_fg
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
171 \ nextgroup=cmusrcOptEqColor
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
172
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
173 syn match cmusrcOptEqColor contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
174 \ nextgroup=@cmusrcOptColor
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
175
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
176 syn cluster cmusrcOptColor contains=cmusrcOptColorName,cmusrcOptColorValue
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
177
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
178 syn keyword cmusrcOptColorName contained default black red green yellow blue
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
179 \ magenta cyan gray darkgray lightred lightred
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
180 \ lightgreen lightyellow lightblue lightmagenta
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
181 \ lightcyan white
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
182
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
183 syn match cmusrcOptColorValue contained display
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
184 \ '-1\|0*\%(\d\|[1-9]\d\|1\d\d\|2\%([0-4]\d\|5[0-5]\)\)'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
185
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
186 syn keyword cmusrcOption contained id3_default_charset output_plugin
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
187 \ status_display_program
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
188 \ nextgroup=cmusrcOptEqString
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
189
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
190 syn match cmusrcOption contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
191 \ '\%(dsp\|mixer\)\.\%(alsa\|oss\|sun\)\.\%(channel\|device\)'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
192 \ nextgroup=cmusrcOptEqString
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
193
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
194 syn match cmusrcOption contained
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
195 \ 'dsp\.ao\.\%(buffer_size\|driver\|wav_counter\|wav_dir\)'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
196 \ nextgroup=cmusrcOptEqString
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
197
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
198 syn match cmusrcOptEqString contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
199 \ nextgroup=cmusrcOptString
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
200
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
201 syn match cmusrcOptString contained display '.\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
202
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
203 syn keyword cmusrcOption contained lib_sort pl_sort
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
204 \ nextgroup=cmusrcOptEqSortKeys
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
205
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
206 syn match cmusrcOptEqSortKeys contained display '='
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
207 \ nextgroup=cmusrcOptSortKeys
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
208
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
209 syn keyword cmusrcOptSortKeys contained artist album title tracknumber
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
210 \ discnumber date genre filename
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
211 \ nextgroup=cmusrcOptSortKeys
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
212 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
213
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
214 syn keyword cmusrcKeyword contained showbind
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
215 \ nextgroup=cmusrcSBindContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
216 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
217
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
218 syn keyword cmusrcSBindContext contained common library playlist queue
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
219 \ browser filters
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
220 \ nextgroup=cmusrcSBindKey
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
221 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
222
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
223 syn match cmusrcSBindKey contained display '\S\+'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
224
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
225 syn keyword cmusrcKeyword contained toggle
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
226 \ nextgroup=cmusrcTogglableOpt
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
227 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
228
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
229 syn keyword cmusrcTogglableOpt contained auto_reshuffle aaa_mode
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
230 \ confirm_run continue play_library play_sorted
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
231 \ repeat show_hidden show_remaining_time shuffle
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
232
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
233 syn keyword cmusrcKeyword contained unbind
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
234 \ nextgroup=cmusrcUnbindSwitches,
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
235 \ cmusrcSBindContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
236 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
237
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
238 syn match cmusrcUnbindSwitches contained display '-[f]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
239 \ nextgroup=cmusrcSBindContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
240 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
241
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
242 syn keyword cmusrcKeyword contained view
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
243 \ nextgroup=cmusrcView
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
244 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
245
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
246 syn keyword cmusrcView contained library playlist queue browser filters
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
247 syn match cmusrcView contained display '[1-6]'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
248
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
249 syn keyword cmusrcKeyword contained vol
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
250 \ nextgroup=cmusrcVolume1
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
251 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
252
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
253 syn match cmusrcVolume1 contained display '[+-]\=\d\+%'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
254 \ nextgroup=cmusrcVolume2
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
255 \ skipwhite
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
256
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
257 syn match cmusrcVolume2 contained display '[+-]\=\d\+%'
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
258
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
259 hi def link cmusrcTodo Todo
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
260 hi def link cmusrcComment Comment
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
261 hi def link cmusrcKeyword Keyword
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
262 hi def link cmusrcSwitches Special
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
263 hi def link cmusrcAddSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
264 hi def link cmusrcURI Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
265 hi def link cmusrcBindSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
266 hi def link cmusrcContext Type
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
267 hi def link cmusrcBindContext cmusrcContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
268 hi def link cmusrcKey String
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
269 hi def link cmusrcBindKey cmusrcKey
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
270 hi def link cmusrcDirectory Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
271 hi def link cmusrcClearSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
272 hi def link cmusrcFSetName PreProc
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
273 hi def link cmusrcEq Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
274 hi def link cmusrcFSetEq cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
275 hi def link cmusrcFilterExpr Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
276 hi def link cmusrcLoadSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
277 hi def link cmusrcSaveSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
278 hi def link cmusrcFile Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
279 hi def link cmusrcSeekOffset Number
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
280 hi def link cmusrcOption PreProc
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
281 hi def link cmusrcSetTest Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
282 hi def link cmusrcOptBoolean Boolean
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
283 hi def link cmusrcOptEqAAA cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
284 hi def link cmusrcOptAAA Identifier
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
285 hi def link cmusrcOptEqNumber cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
286 hi def link cmusrcOptNumber Number
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
287 hi def link cmusrcOptEqFormat cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
288 hi def link cmusrcOptFormat String
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
289 hi def link cmusrcFormatSpecial SpecialChar
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
290 hi def link cmusrcOptEqColor cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
291 hi def link cmusrcOptColor Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
292 hi def link cmusrcOptColorName cmusrcOptColor
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
293 hi def link cmusrcOptColorValue cmusrcOptColor
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
294 hi def link cmusrcOptEqString cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
295 hi def link cmusrcOptString Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
296 hi def link cmusrcOptEqSortKeys cmusrcEq
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
297 hi def link cmusrcOptSortKeys Identifier
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
298 hi def link cmusrcSBindContext cmusrcContext
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
299 hi def link cmusrcSBindKey cmusrcKey
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
300 hi def link cmusrcTogglableOpt cmusrcOption
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
301 hi def link cmusrcUnbindSwitches cmusrcSwitches
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
302 hi def link cmusrcView Normal
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
303 hi def link cmusrcVolume1 Number
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
304 hi def link cmusrcVolume2 Number
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
305
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
306 let b:current_syntax = "cmusrc"
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
307
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
308 let &cpo = s:cpo_save
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
309 unlet s:cpo_save