annotate runtime/syntax/fetchmail.vim @ 19382:e6f0b4fe0b6d v8.2.0249

patch 8.2.0249: MS-Windows: various warnings Commit: https://github.com/vim/vim/commit/3fb377fa78131004138b22a87afe33eeb7649b94 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 12 21:52:32 2020 +0100 patch 8.2.0249: MS-Windows: various warnings Problem: MS-Windows: various warnings. Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_. (Ken Takata, closes #5625)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Feb 2020 22:00:05 +0100
parents 1218c5353e2b
children 912224cab37f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: fetchmail(1) RC File
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
11 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13 syn keyword fetchmailTodo contained FIXME TODO XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
14
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
15 syn region fetchmailComment start='#' end='$' contains=fetchmailTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
17 syn match fetchmailNumber display '\<\d\+\>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
19 syn region fetchmailString start=+"+ skip=+\\\\\|\\"+ end=+"+
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
20 \ contains=fetchmailStringEsc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
21 syn region fetchmailString start=+'+ skip=+\\\\\|\\'+ end=+'+
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
22 \ contains=fetchmailStringEsc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
24 syn match fetchmailStringEsc contained '\\\([ntb]\|0\d*\|x\x\+\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
26 syn region fetchmailKeyword transparent matchgroup=fetchmailKeyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
27 \ start='\<poll\|skip\|defaults\>'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
28 \ end='\<poll\|skip\|defaults\>'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
29 \ contains=ALLBUT,fetchmailOptions,fetchmailSet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 syn keyword fetchmailServerOpts contained via proto[col] local[domains] port
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 \ auth[enticate] timeout envelope qvirtual aka
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
33 \ interface monitor plugin plugout dns
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 \ checkalias uidl interval netsec principal
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 \ esmtpname esmtppassword
809
4f1b94b51e99 updated for version 7.0b02
vimboss
parents: 375
diff changeset
36 \ sslcertck sslcertpath sslfingerprint
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 syn match fetchmailServerOpts contained '\<no\_s\+\(envelope\|dns\|checkalias\|uidl\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 syn keyword fetchmailUserOpts contained user[name] is to pass[word] ssl
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 \ sslcert sslkey sslproto folder smtphost
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 \ fetchdomains smtpaddress smtpname antispam
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
42 \ mda bsmtp preconnect postconnect keep flush
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 \ fetchall rewrite stripcr forcecr pass8bits
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 \ dropstatus dropdelivered mimedecode idle
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
45 \ limit warnings batchlimit fetchlimit expunge
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
46 \ tracepolls properties
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
47 syn match fetchmailUserOpts contained '\<no\_s\+\(keep\|flush\|fetchall\|rewrite\|stripcr\|forcecr\|pass8bits\|dropstatus\|dropdelivered\|mimedecode\|noidle\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
49 syn keyword fetchmailSpecial contained here there
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
51 syn keyword fetchmailNoise and with has wants options
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
52 syn match fetchmailNoise display '[:;,]'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
54 syn keyword fetchmailSet nextgroup=fetchmailOptions skipwhite skipnl set
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
55
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
56 syn keyword fetchmailOptions daemon postmaster bouncemail spambounce logfile
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
57 \ idfile syslog nosyslog properties
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
58 syn match fetchmailOptions '\<no\_s\+\(bouncemail\|spambounce\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
60 hi def link fetchmailComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
61 hi def link fetchmailTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
62 hi def link fetchmailNumber Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
63 hi def link fetchmailString String
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
64 hi def link fetchmailStringEsc SpecialChar
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
65 hi def link fetchmailKeyword Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
66 hi def link fetchmailServerOpts Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
67 hi def link fetchmailUserOpts Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
68 hi def link fetchmailSpecial Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
69 hi def link fetchmailSet Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
70 hi def link fetchmailOptions Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 let b:current_syntax = "fetchmail"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
74 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
75 unlet s:cpo_save