| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | " Language:		fetchmail(1) RC File | 
					
						
							|  |  |  | " Maintainer:		Doug Kearns <dougkearns@gmail.com> | 
					
						
							|  |  |  | " Previous Maintainer:	Nikolai Weibull <now@bitwi.se> | 
					
						
							| 
									
										
										
										
											2022-07-06 13:18:11 +01:00
										 |  |  | " Latest Revision:	2022 Jul 02 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Version 6.4.3 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | if exists("b:current_syntax") | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |   finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | let s:cpo_save = &cpo | 
					
						
							|  |  |  | set cpo&vim | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn keyword fetchmailTodo	contained FIXME TODO XXX NOTE | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn region  fetchmailComment	start='#' end='$' contains=fetchmailTodo,@Spell | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn match   fetchmailNumber	display '\<\d\+\>' | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn region  fetchmailString	start=+"+ skip=+\\\\\|\\"+ end=+"+ | 
					
						
							|  |  |  | 				\ contains=fetchmailStringEsc | 
					
						
							|  |  |  | syn region  fetchmailString	start=+'+ skip=+\\\\\|\\'+ end=+'+ | 
					
						
							|  |  |  | 				\ contains=fetchmailStringEsc | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn match   fetchmailStringEsc	contained '\\\([ntb]\|0\d*\|x\x\+\)' | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn region  fetchmailKeyword	transparent matchgroup=fetchmailKeyword | 
					
						
							|  |  |  | 				\ start='\<poll\|skip\|defaults\>' | 
					
						
							|  |  |  | 				\ end='\<poll\|skip\|defaults\>' | 
					
						
							|  |  |  | 				\ contains=ALLBUT,fetchmailOptions,fetchmailSet | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | syn keyword fetchmailServerOpts contained via proto[col] local[domains] port | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | 				\ service auth[enticate] timeout envelope | 
					
						
							|  |  |  | 				\ qvirtual aka interface monitor plugin plugout | 
					
						
							|  |  |  | 				\ dns checkalias uidl interval tracepolls | 
					
						
							|  |  |  | 				\ principal esmtpname esmtppassword | 
					
						
							|  |  |  | " removed in 6.3.0 | 
					
						
							|  |  |  | syn keyword fetchmailServerOpts contained netsec | 
					
						
							|  |  |  | syn match   fetchmailServerOpts contained '\<bad-header\>' | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn match   fetchmailServerOpts contained '\<no\_s\+\(envelope\|dns\|checkalias\|uidl\)' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn keyword fetchmailUserOpts	contained user[name] is to pass[word] ssl | 
					
						
							|  |  |  | 				\ sslcert sslcertck sslcertfile sslcertpath | 
					
						
							|  |  |  | 				\ sslfingerprint sslkey sslproto folder | 
					
						
							|  |  |  | 				\ smtphost fetchdomains smtpaddress smtpname | 
					
						
							|  |  |  | 				\ antispam mda bsmtp preconnect postconnect | 
					
						
							|  |  |  | 				\ keep flush limitflush fetchall rewrite | 
					
						
							|  |  |  | 				\ stripcr forcecr pass8bits dropstatus | 
					
						
							|  |  |  | 				\ dropdelivered mimedecode idle limit warnings | 
					
						
							|  |  |  | 				\ batchlimit fetchlimit fetchsizelimit | 
					
						
							|  |  |  | 				\ fastuidl expunge properties | 
					
						
							|  |  |  | 				\ sslcommonname | 
					
						
							|  |  |  | syn match   fetchmailUserOpts	contained '\<no\_s\+\(sslcertck\|keep\|flush\|fetchall\|rewrite\|stripcr\|forcecr\|pass8bits\|dropstatus\|dropdelivered\|mimedecode\|idle\)' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn keyword fetchmailSpecial	contained here there | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn keyword fetchmailNoise	and with has wants options | 
					
						
							|  |  |  | syn match   fetchmailNoise	display '[:;,]' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn keyword fetchmailSet	nextgroup=fetchmailOptions skipwhite skipnl set | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn keyword fetchmailOptions	daemon postmaster bouncemail spambounce | 
					
						
							| 
									
										
										
										
											2022-07-06 13:18:11 +01:00
										 |  |  | 				\ softbounce logfile pidfile idfile syslog properties | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | syn match   fetchmailOptions	'\<no\_s\+\(bouncemail\|spambounce\|softbounce\|syslog\)' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | hi def link fetchmailComment	Comment | 
					
						
							|  |  |  | hi def link fetchmailTodo	Todo | 
					
						
							|  |  |  | hi def link fetchmailNumber	Number | 
					
						
							|  |  |  | hi def link fetchmailString	String | 
					
						
							|  |  |  | hi def link fetchmailStringEsc	SpecialChar | 
					
						
							|  |  |  | hi def link fetchmailKeyword	Keyword | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | hi def link fetchmailServerOpts Identifier | 
					
						
							| 
									
										
										
										
											2022-07-01 18:45:04 +01:00
										 |  |  | hi def link fetchmailUserOpts	Identifier | 
					
						
							|  |  |  | hi def link fetchmailSpecial	Special | 
					
						
							|  |  |  | hi def link fetchmailSet	Keyword | 
					
						
							|  |  |  | hi def link fetchmailOptions	Identifier | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "fetchmail" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | let &cpo = s:cpo_save | 
					
						
							|  |  |  | unlet s:cpo_save |