7
|
1 " Vim syntax file
|
|
2 " Language: Pine (email program) run commands
|
|
3 " Maintainer: David Pascoe <pascoedj@spamcop.net>
|
|
4 " Last Change: Thu Feb 27 10:18:48 WST 2003, update for pine 4.53
|
|
5
|
|
6 " For version 5.x: Clear all syntax items
|
|
7 " For version 6.x: Quit when a syntax file was already loaded
|
|
8 if version < 600
|
|
9 syntax clear
|
|
10 elseif exists("b:current_syntax")
|
|
11 finish
|
|
12 endif
|
|
13
|
|
14 if version >= 600
|
4119
|
15 setlocal iskeyword=@,48-57,_,128-167,224-235,-
|
7
|
16 else
|
4119
|
17 set iskeyword=@,48-57,_,128-167,224-235,-
|
7
|
18 endif
|
|
19
|
|
20 syn keyword pineConfig addrbook-sort-rule
|
|
21 syn keyword pineConfig address-book
|
|
22 syn keyword pineConfig addressbook-formats
|
|
23 syn keyword pineConfig alt-addresses
|
|
24 syn keyword pineConfig bugs-additional-data
|
|
25 syn keyword pineConfig bugs-address
|
|
26 syn keyword pineConfig bugs-fullname
|
|
27 syn keyword pineConfig character-set
|
|
28 syn keyword pineConfig color-style
|
|
29 syn keyword pineConfig compose-mime
|
|
30 syn keyword pineConfig composer-wrap-column
|
|
31 syn keyword pineConfig current-indexline-style
|
|
32 syn keyword pineConfig cursor-style
|
|
33 syn keyword pineConfig customized-hdrs
|
|
34 syn keyword pineConfig debug-memory
|
|
35 syn keyword pineConfig default-composer-hdrs
|
|
36 syn keyword pineConfig default-fcc
|
|
37 syn keyword pineConfig default-saved-msg-folder
|
|
38 syn keyword pineConfig disable-these-authenticators
|
|
39 syn keyword pineConfig disable-these-drivers
|
|
40 syn keyword pineConfig display-filters
|
|
41 syn keyword pineConfig download-command
|
|
42 syn keyword pineConfig download-command-prefix
|
|
43 syn keyword pineConfig editor
|
|
44 syn keyword pineConfig elm-style-save
|
|
45 syn keyword pineConfig empty-header-message
|
|
46 syn keyword pineConfig fcc-name-rule
|
|
47 syn keyword pineConfig feature-level
|
|
48 syn keyword pineConfig feature-list
|
|
49 syn keyword pineConfig file-directory
|
|
50 syn keyword pineConfig folder-collections
|
|
51 syn keyword pineConfig folder-extension
|
|
52 syn keyword pineConfig folder-sort-rule
|
|
53 syn keyword pineConfig font-char-set
|
|
54 syn keyword pineConfig font-name
|
|
55 syn keyword pineConfig font-size
|
|
56 syn keyword pineConfig font-style
|
|
57 syn keyword pineConfig forced-abook-entry
|
|
58 syn keyword pineConfig form-letter-folder
|
|
59 syn keyword pineConfig global-address-book
|
|
60 syn keyword pineConfig goto-default-rule
|
|
61 syn keyword pineConfig header-in-reply
|
|
62 syn keyword pineConfig image-viewer
|
|
63 syn keyword pineConfig inbox-path
|
|
64 syn keyword pineConfig incoming-archive-folders
|
|
65 syn keyword pineConfig incoming-folders
|
|
66 syn keyword pineConfig incoming-startup-rule
|
|
67 syn keyword pineConfig index-answered-background-color
|
|
68 syn keyword pineConfig index-answered-foreground-color
|
|
69 syn keyword pineConfig index-deleted-background-color
|
|
70 syn keyword pineConfig index-deleted-foreground-color
|
|
71 syn keyword pineConfig index-format
|
|
72 syn keyword pineConfig index-important-background-color
|
|
73 syn keyword pineConfig index-important-foreground-color
|
|
74 syn keyword pineConfig index-new-background-color
|
|
75 syn keyword pineConfig index-new-foreground-color
|
|
76 syn keyword pineConfig index-recent-background-color
|
|
77 syn keyword pineConfig index-recent-foreground-color
|
|
78 syn keyword pineConfig index-to-me-background-color
|
|
79 syn keyword pineConfig index-to-me-foreground-color
|
|
80 syn keyword pineConfig index-unseen-background-color
|
|
81 syn keyword pineConfig index-unseen-foreground-color
|
|
82 syn keyword pineConfig initial-keystroke-list
|
|
83 syn keyword pineConfig kblock-passwd-count
|
|
84 syn keyword pineConfig keylabel-background-color
|
|
85 syn keyword pineConfig keylabel-foreground-color
|
|
86 syn keyword pineConfig keyname-background-color
|
|
87 syn keyword pineConfig keyname-foreground-color
|
|
88 syn keyword pineConfig last-time-prune-questioned
|
|
89 syn keyword pineConfig last-version-used
|
|
90 syn keyword pineConfig ldap-servers
|
|
91 syn keyword pineConfig literal-signature
|
|
92 syn keyword pineConfig local-address
|
|
93 syn keyword pineConfig local-fullname
|
|
94 syn keyword pineConfig mail-check-interval
|
|
95 syn keyword pineConfig mail-directory
|
|
96 syn keyword pineConfig mailcap-search-path
|
|
97 syn keyword pineConfig mimetype-search-path
|
|
98 syn keyword pineConfig new-version-threshold
|
|
99 syn keyword pineConfig news-active-file-path
|
|
100 syn keyword pineConfig news-collections
|
|
101 syn keyword pineConfig news-spool-directory
|
|
102 syn keyword pineConfig newsrc-path
|
|
103 syn keyword pineConfig nntp-server
|
|
104 syn keyword pineConfig normal-background-color
|
|
105 syn keyword pineConfig normal-foreground-color
|
|
106 syn keyword pineConfig old-style-reply
|
|
107 syn keyword pineConfig operating-dir
|
|
108 syn keyword pineConfig patterns
|
|
109 syn keyword pineConfig patterns-filters
|
|
110 syn keyword pineConfig patterns-filters2
|
|
111 syn keyword pineConfig patterns-indexcolors
|
|
112 syn keyword pineConfig patterns-other
|
|
113 syn keyword pineConfig patterns-roles
|
|
114 syn keyword pineConfig patterns-scores
|
|
115 syn keyword pineConfig patterns-scores2
|
|
116 syn keyword pineConfig personal-name
|
|
117 syn keyword pineConfig personal-print-category
|
|
118 syn keyword pineConfig personal-print-command
|
|
119 syn keyword pineConfig postponed-folder
|
|
120 syn keyword pineConfig print-font-char-set
|
|
121 syn keyword pineConfig print-font-name
|
|
122 syn keyword pineConfig print-font-size
|
|
123 syn keyword pineConfig print-font-style
|
|
124 syn keyword pineConfig printer
|
|
125 syn keyword pineConfig prompt-background-color
|
|
126 syn keyword pineConfig prompt-foreground-color
|
|
127 syn keyword pineConfig pruned-folders
|
|
128 syn keyword pineConfig pruning-rule
|
|
129 syn keyword pineConfig quote1-background-color
|
|
130 syn keyword pineConfig quote1-foreground-color
|
|
131 syn keyword pineConfig quote2-background-color
|
|
132 syn keyword pineConfig quote2-foreground-color
|
|
133 syn keyword pineConfig quote3-background-color
|
|
134 syn keyword pineConfig quote3-foreground-color
|
|
135 syn keyword pineConfig read-message-folder
|
|
136 syn keyword pineConfig remote-abook-history
|
|
137 syn keyword pineConfig remote-abook-metafile
|
|
138 syn keyword pineConfig remote-abook-validity
|
|
139 syn keyword pineConfig reply-indent-string
|
|
140 syn keyword pineConfig reply-leadin
|
|
141 syn keyword pineConfig reverse-background-color
|
|
142 syn keyword pineConfig reverse-foreground-color
|
|
143 syn keyword pineConfig rsh-command
|
|
144 syn keyword pineConfig rsh-open-timeout
|
|
145 syn keyword pineConfig rsh-path
|
|
146 syn keyword pineConfig save-by-sender
|
|
147 syn keyword pineConfig saved-msg-name-rule
|
|
148 syn keyword pineConfig scroll-margin
|
|
149 syn keyword pineConfig selectable-item-background-color
|
|
150 syn keyword pineConfig selectable-item-foreground-color
|
|
151 syn keyword pineConfig sending-filters
|
|
152 syn keyword pineConfig sendmail-path
|
|
153 syn keyword pineConfig show-all-characters
|
|
154 syn keyword pineConfig signature-file
|
|
155 syn keyword pineConfig smtp-server
|
|
156 syn keyword pineConfig sort-key
|
|
157 syn keyword pineConfig speller
|
|
158 syn keyword pineConfig ssh-command
|
|
159 syn keyword pineConfig ssh-open-timeout
|
|
160 syn keyword pineConfig ssh-path
|
|
161 syn keyword pineConfig standard-printer
|
|
162 syn keyword pineConfig status-background-color
|
|
163 syn keyword pineConfig status-foreground-color
|
|
164 syn keyword pineConfig status-message-delay
|
|
165 syn keyword pineConfig suggest-address
|
|
166 syn keyword pineConfig suggest-fullname
|
|
167 syn keyword pineConfig tcp-open-timeout
|
|
168 syn keyword pineConfig tcp-query-timeout
|
|
169 syn keyword pineConfig tcp-read-warning-timeout
|
|
170 syn keyword pineConfig tcp-write-warning-timeout
|
|
171 syn keyword pineConfig threading-display-style
|
|
172 syn keyword pineConfig threading-expanded-character
|
|
173 syn keyword pineConfig threading-index-style
|
|
174 syn keyword pineConfig threading-indicator-character
|
|
175 syn keyword pineConfig threading-lastreply-character
|
|
176 syn keyword pineConfig title-background-color
|
|
177 syn keyword pineConfig title-foreground-color
|
|
178 syn keyword pineConfig titlebar-color-style
|
|
179 syn keyword pineConfig upload-command
|
|
180 syn keyword pineConfig upload-command-prefix
|
|
181 syn keyword pineConfig url-viewers
|
|
182 syn keyword pineConfig use-only-domain-name
|
|
183 syn keyword pineConfig user-domain
|
|
184 syn keyword pineConfig user-id
|
|
185 syn keyword pineConfig user-id
|
|
186 syn keyword pineConfig user-input-timeout
|
|
187 syn keyword pineConfig viewer-hdr-colors
|
|
188 syn keyword pineConfig viewer-hdrs
|
|
189 syn keyword pineConfig viewer-overlap
|
|
190 syn keyword pineConfig window-position
|
|
191
|
|
192 syn keyword pineOption allow-changing-from
|
|
193 syn keyword pineOption allow-talk
|
|
194 syn keyword pineOption alternate-compose-menu
|
|
195 syn keyword pineOption assume-slow-link
|
|
196 syn keyword pineOption auto-move-read-msgs
|
|
197 syn keyword pineOption auto-open-next-unread
|
|
198 syn keyword pineOption auto-unzoom-after-apply
|
|
199 syn keyword pineOption auto-zoom-after-select
|
|
200 syn keyword pineOption cache-remote-pinerc
|
|
201 syn keyword pineOption check-newmail-when-quitting
|
|
202 syn keyword pineOption combined-addrbook-display
|
|
203 syn keyword pineOption combined-folder-display
|
|
204 syn keyword pineOption combined-subdirectory-display
|
|
205 syn keyword pineOption compose-cut-from-cursor
|
|
206 syn keyword pineOption compose-maps-delete-key-to-ctrl-d
|
|
207 syn keyword pineOption compose-rejects-unqualified-addrs
|
|
208 syn keyword pineOption compose-send-offers-first-filter
|
|
209 syn keyword pineOption compose-sets-newsgroup-without-confirm
|
|
210 syn keyword pineOption confirm-role-even-for-default
|
|
211 syn keyword pineOption continue-tab-without-confirm
|
|
212 syn keyword pineOption delete-skips-deleted
|
|
213 syn keyword pineOption disable-2022-jp-conversions
|
|
214 syn keyword pineOption disable-busy-alarm
|
|
215 syn keyword pineOption disable-charset-conversions
|
|
216 syn keyword pineOption disable-config-cmd
|
|
217 syn keyword pineOption disable-keyboard-lock-cmd
|
|
218 syn keyword pineOption disable-keymenu
|
|
219 syn keyword pineOption disable-password-caching
|
|
220 syn keyword pineOption disable-password-cmd
|
|
221 syn keyword pineOption disable-pipes-in-sigs
|
|
222 syn keyword pineOption disable-pipes-in-templates
|
|
223 syn keyword pineOption disable-roles-setup-cmd
|
|
224 syn keyword pineOption disable-roles-sig-edit
|
|
225 syn keyword pineOption disable-roles-template-edit
|
|
226 syn keyword pineOption disable-sender
|
|
227 syn keyword pineOption disable-shared-namespaces
|
|
228 syn keyword pineOption disable-signature-edit-cmd
|
|
229 syn keyword pineOption disable-take-last-comma-first
|
|
230 syn keyword pineOption enable-8bit-esmtp-negotiation
|
|
231 syn keyword pineOption enable-8bit-nntp-posting
|
|
232 syn keyword pineOption enable-aggregate-command-set
|
|
233 syn keyword pineOption enable-alternate-editor-cmd
|
|
234 syn keyword pineOption enable-alternate-editor-implicitly
|
|
235 syn keyword pineOption enable-arrow-navigation
|
|
236 syn keyword pineOption enable-arrow-navigation-relaxed
|
|
237 syn keyword pineOption enable-background-sending
|
|
238 syn keyword pineOption enable-bounce-cmd
|
|
239 syn keyword pineOption enable-cruise-mode
|
|
240 syn keyword pineOption enable-cruise-mode-delete
|
|
241 syn keyword pineOption enable-delivery-status-notification
|
|
242 syn keyword pineOption enable-dot-files
|
|
243 syn keyword pineOption enable-dot-folders
|
|
244 syn keyword pineOption enable-exit-via-lessthan-command
|
|
245 syn keyword pineOption enable-fast-recent-test
|
|
246 syn keyword pineOption enable-flag-cmd
|
|
247 syn keyword pineOption enable-flag-screen-implicitly
|
|
248 syn keyword pineOption enable-full-header-and-text
|
|
249 syn keyword pineOption enable-full-header-cmd
|
|
250 syn keyword pineOption enable-goto-in-file-browser
|
|
251 syn keyword pineOption enable-incoming-folders
|
|
252 syn keyword pineOption enable-jump-shortcut
|
|
253 syn keyword pineOption enable-lame-list-mode
|
|
254 syn keyword pineOption enable-mail-check-cue
|
|
255 syn keyword pineOption enable-mailcap-param-substitution
|
|
256 syn keyword pineOption enable-mouse-in-xterm
|
|
257 syn keyword pineOption enable-msg-view-addresses
|
|
258 syn keyword pineOption enable-msg-view-attachments
|
|
259 syn keyword pineOption enable-msg-view-forced-arrows
|
|
260 syn keyword pineOption enable-msg-view-urls
|
|
261 syn keyword pineOption enable-msg-view-web-hostnames
|
|
262 syn keyword pineOption enable-newmail-in-xterm-icon
|
|
263 syn keyword pineOption enable-partial-match-lists
|
|
264 syn keyword pineOption enable-print-via-y-command
|
|
265 syn keyword pineOption enable-reply-indent-string-editing
|
|
266 syn keyword pineOption enable-rules-under-take
|
|
267 syn keyword pineOption enable-search-and-replace
|
|
268 syn keyword pineOption enable-sigdashes
|
|
269 syn keyword pineOption enable-suspend
|
|
270 syn keyword pineOption enable-tab-completion
|
|
271 syn keyword pineOption enable-take-export
|
|
272 syn keyword pineOption enable-tray-icon
|
|
273 syn keyword pineOption enable-unix-pipe-cmd
|
|
274 syn keyword pineOption enable-verbose-smtp-posting
|
|
275 syn keyword pineOption expanded-view-of-addressbooks
|
|
276 syn keyword pineOption expanded-view-of-distribution-lists
|
|
277 syn keyword pineOption expanded-view-of-folders
|
|
278 syn keyword pineOption expose-hidden-config
|
|
279 syn keyword pineOption expunge-only-manually
|
|
280 syn keyword pineOption expunge-without-confirm
|
|
281 syn keyword pineOption expunge-without-confirm-everywhere
|
|
282 syn keyword pineOption fcc-on-bounce
|
|
283 syn keyword pineOption fcc-only-without-confirm
|
|
284 syn keyword pineOption fcc-without-attachments
|
|
285 syn keyword pineOption include-attachments-in-reply
|
|
286 syn keyword pineOption include-header-in-reply
|
|
287 syn keyword pineOption include-text-in-reply
|
|
288 syn keyword pineOption ldap-result-to-addrbook-add
|
|
289 syn keyword pineOption mark-fcc-seen
|
|
290 syn keyword pineOption mark-for-cc
|
|
291 syn keyword pineOption news-approximates-new-status
|
|
292 syn keyword pineOption news-deletes-across-groups
|
|
293 syn keyword pineOption news-offers-catchup-on-close
|
|
294 syn keyword pineOption news-post-without-validation
|
|
295 syn keyword pineOption news-read-in-newsrc-order
|
|
296 syn keyword pineOption next-thread-without-confirm
|
|
297 syn keyword pineOption old-growth
|
|
298 syn keyword pineOption pass-control-characters-as-is
|
|
299 syn keyword pineOption prefer-plain-text
|
|
300 syn keyword pineOption preserve-start-stop-characters
|
|
301 syn keyword pineOption print-formfeed-between-messages
|
|
302 syn keyword pineOption print-includes-from-line
|
|
303 syn keyword pineOption print-index-enabled
|
|
304 syn keyword pineOption print-offers-custom-cmd-prompt
|
|
305 syn keyword pineOption quell-attachment-extra-prompt
|
|
306 syn keyword pineOption quell-berkeley-format-timezone
|
|
307 syn keyword pineOption quell-content-id
|
|
308 syn keyword pineOption quell-dead-letter-on-cancel
|
|
309 syn keyword pineOption quell-empty-directories
|
|
310 syn keyword pineOption quell-extra-post-prompt
|
|
311 syn keyword pineOption quell-folder-internal-msg
|
|
312 syn keyword pineOption quell-imap-envelope-update
|
|
313 syn keyword pineOption quell-lock-failure-warnings
|
|
314 syn keyword pineOption quell-maildomain-warning
|
|
315 syn keyword pineOption quell-news-envelope-update
|
|
316 syn keyword pineOption quell-partial-fetching
|
|
317 syn keyword pineOption quell-ssl-largeblocks
|
|
318 syn keyword pineOption quell-status-message-beeping
|
|
319 syn keyword pineOption quell-timezone-comment-when-sending
|
|
320 syn keyword pineOption quell-user-lookup-in-passwd-file
|
|
321 syn keyword pineOption quit-without-confirm
|
|
322 syn keyword pineOption reply-always-uses-reply-to
|
|
323 syn keyword pineOption save-aggregates-copy-sequence
|
|
324 syn keyword pineOption save-will-advance
|
|
325 syn keyword pineOption save-will-not-delete
|
|
326 syn keyword pineOption save-will-quote-leading-froms
|
|
327 syn keyword pineOption scramble-message-id
|
|
328 syn keyword pineOption select-without-confirm
|
|
329 syn keyword pineOption selectable-item-nobold
|
|
330 syn keyword pineOption separate-folder-and-directory-entries
|
|
331 syn keyword pineOption show-cursor
|
|
332 syn keyword pineOption show-plain-text-internally
|
|
333 syn keyword pineOption show-selected-in-boldface
|
|
334 syn keyword pineOption signature-at-bottom
|
|
335 syn keyword pineOption single-column-folder-list
|
|
336 syn keyword pineOption slash-collapses-entire-thread
|
|
337 syn keyword pineOption spell-check-before-sending
|
|
338 syn keyword pineOption store-window-position-in-config
|
|
339 syn keyword pineOption strip-from-sigdashes-on-reply
|
|
340 syn keyword pineOption tab-visits-next-new-message-only
|
|
341 syn keyword pineOption termdef-takes-precedence
|
|
342 syn keyword pineOption thread-index-shows-important-color
|
|
343 syn keyword pineOption try-alternative-authentication-driver-first
|
|
344 syn keyword pineOption unselect-will-not-advance
|
|
345 syn keyword pineOption use-current-dir
|
|
346 syn keyword pineOption use-function-keys
|
|
347 syn keyword pineOption use-sender-not-x-sender
|
|
348 syn keyword pineOption use-subshell-for-suspend
|
|
349 syn keyword pineOption vertical-folder-list
|
|
350
|
|
351 syn match pineComment "^#.*$"
|
|
352
|
|
353 " Define the default highlighting.
|
|
354 " For version 5.7 and earlier: only when not done already
|
|
355 " For version 5.8 and later: only when an item doesn't have highlighting yet
|
|
356 if version >= 508 || !exists("did_pine_syn_inits")
|
|
357 if version < 508
|
|
358 let did_pine_syn_inits = 1
|
|
359 command -nargs=+ HiLink hi link <args>
|
|
360 else
|
|
361 command -nargs=+ HiLink hi def link <args>
|
|
362 endif
|
|
363
|
|
364 HiLink pineConfig Type
|
|
365 HiLink pineComment Comment
|
|
366 HiLink pineOption Macro
|
|
367 delcommand HiLink
|
|
368 endif
|
|
369
|
|
370 let b:current_syntax = "pine"
|
|
371
|
|
372 " vim: ts=8
|