codekingpro/portable-devtools
115k
1" Vim syntax file2" Language: fetchmail(1) RC File3" Maintainer: Doug Kearns <dougkearns@gmail.com>4" Previous Maintainer: Nikolai Weibull <now@bitwi.se>5" Latest Revision: 2022 Jul 026 7" Version 6.4.38 9if exists("b:current_syntax")10 finish11endif12 13let s:cpo_save = &cpo14set cpo&vim15 16syn keyword fetchmailTodo contained FIXME TODO XXX NOTE17 18syn region fetchmailComment start='#' end='$' contains=fetchmailTodo,@Spell19 20syn match fetchmailNumber display '\<\d\+\>'21 22syn region fetchmailString start=+"+ skip=+\\\\\|\\"+ end=+"+23 \ contains=fetchmailStringEsc24syn region fetchmailString start=+'+ skip=+\\\\\|\\'+ end=+'+25 \ contains=fetchmailStringEsc26 27syn match fetchmailStringEsc contained '\\\([ntb]\|0\d*\|x\x\+\)'28 29syn region fetchmailKeyword transparent matchgroup=fetchmailKeyword30 \ start='\<poll\|skip\|defaults\>'31 \ end='\<poll\|skip\|defaults\>'32 \ contains=ALLBUT,fetchmailOptions,fetchmailSet33 34syn keyword fetchmailServerOpts contained via proto[col] local[domains] port35 \ service auth[enticate] timeout envelope36 \ qvirtual aka interface monitor plugin plugout37 \ dns checkalias uidl interval tracepolls38 \ principal esmtpname esmtppassword39" removed in 6.3.040syn keyword fetchmailServerOpts contained netsec41syn match fetchmailServerOpts contained '\<bad-header\>'42syn match fetchmailServerOpts contained '\<no\_s\+\(envelope\|dns\|checkalias\|uidl\)'43 44syn keyword fetchmailUserOpts contained user[name] is to pass[word] ssl45 \ sslcert sslcertck sslcertfile sslcertpath46 \ sslfingerprint sslkey sslproto folder47 \ smtphost fetchdomains smtpaddress smtpname48 \ antispam mda bsmtp preconnect postconnect49 \ keep flush limitflush fetchall rewrite50 \ stripcr forcecr pass8bits dropstatus51 \ dropdelivered mimedecode idle limit warnings52 \ batchlimit fetchlimit fetchsizelimit53 \ fastuidl expunge properties54 \ sslcommonname55syn match fetchmailUserOpts contained '\<no\_s\+\(sslcertck\|keep\|flush\|fetchall\|rewrite\|stripcr\|forcecr\|pass8bits\|dropstatus\|dropdelivered\|mimedecode\|idle\)'56 57syn keyword fetchmailSpecial contained here there58 59syn keyword fetchmailNoise and with has wants options60syn match fetchmailNoise display '[:;,]'61 62syn keyword fetchmailSet nextgroup=fetchmailOptions skipwhite skipnl set63 64syn keyword fetchmailOptions daemon postmaster bouncemail spambounce65 \ softbounce logfile pidfile idfile syslog properties66syn match fetchmailOptions '\<no\_s\+\(bouncemail\|spambounce\|softbounce\|syslog\)'67 68hi def link fetchmailComment Comment69hi def link fetchmailTodo Todo70hi def link fetchmailNumber Number71hi def link fetchmailString String72hi def link fetchmailStringEsc SpecialChar73hi def link fetchmailKeyword Keyword74hi def link fetchmailServerOpts Identifier75hi def link fetchmailUserOpts Identifier76hi def link fetchmailSpecial Special77hi def link fetchmailSet Keyword78hi def link fetchmailOptions Identifier79 80let b:current_syntax = "fetchmail"81 82let &cpo = s:cpo_save83unlet s:cpo_save84 