75 lines · 3.2 KB · Text
RawDownload
" Vim syntax file" Language:         fetchmail(1) RC File" Maintainer:       Nikolai Weibull <now@bitwi.se>" Latest Revision:  2006-04-19 if exists("b:current_syntax")  finishendif let s:cpo_save = &cposet cpo&vim syn keyword fetchmailTodo       contained FIXME TODO XXX NOTE syn region  fetchmailComment    start='#' end='$' contains=fetchmailTodo,@Spell syn match   fetchmailNumber     display '\<\d\+\>' syn region  fetchmailString     start=+"+ skip=+\\\\\|\\"+ end=+"+                                \ contains=fetchmailStringEscsyn region  fetchmailString     start=+'+ skip=+\\\\\|\\'+ end=+'+                                \ contains=fetchmailStringEsc syn match   fetchmailStringEsc  contained '\\\([ntb]\|0\d*\|x\x\+\)' syn region  fetchmailKeyword    transparent matchgroup=fetchmailKeyword                                \ start='\<poll\|skip\|defaults\>'                                \ end='\<poll\|skip\|defaults\>'                                \ contains=ALLBUT,fetchmailOptions,fetchmailSet syn keyword fetchmailServerOpts contained via proto[col] local[domains] port                                \ auth[enticate] timeout envelope qvirtual aka                                \ interface monitor plugin plugout dns                                \ checkalias uidl interval netsec principal                                \ esmtpname esmtppassword                                \ sslcertck sslcertpath sslfingerprintsyn match   fetchmailServerOpts contained '\<no\_s\+\(envelope\|dns\|checkalias\|uidl\)' syn keyword fetchmailUserOpts   contained user[name] is to pass[word] ssl                                \ sslcert sslkey sslproto folder smtphost                                \ fetchdomains smtpaddress smtpname antispam                                \ mda bsmtp preconnect postconnect keep flush                                \ fetchall rewrite stripcr forcecr pass8bits                                \ dropstatus dropdelivered mimedecode idle                                \ limit warnings batchlimit fetchlimit expunge                                \ tracepolls propertiessyn match   fetchmailUserOpts   contained '\<no\_s\+\(keep\|flush\|fetchall\|rewrite\|stripcr\|forcecr\|pass8bits\|dropstatus\|dropdelivered\|mimedecode\|noidle\)' syn keyword fetchmailSpecial    contained here there syn keyword fetchmailNoise      and with has wants optionssyn match   fetchmailNoise      display '[:;,]' syn keyword fetchmailSet        nextgroup=fetchmailOptions skipwhite skipnl set syn keyword fetchmailOptions    daemon postmaster bouncemail spambounce logfile                                \ idfile syslog nosyslog propertiessyn match   fetchmailOptions    '\<no\_s\+\(bouncemail\|spambounce\)' hi def link fetchmailComment    Commenthi def link fetchmailTodo       Todohi def link fetchmailNumber     Numberhi def link fetchmailString     Stringhi def link fetchmailStringEsc  SpecialCharhi def link fetchmailKeyword    Keywordhi def link fetchmailServerOpts Identifierhi def link fetchmailUserOpts   Identifierhi def link fetchmailSpecial    Specialhi def link fetchmailSet        Keywordhi def link fetchmailOptions    Identifier let b:current_syntax = "fetchmail" let &cpo = s:cpo_saveunlet s:cpo_save