" Vim syntax file " Language: fetchmail(1) RC File " Maintainer: Nikolai Weibull " URL: http://www.pcppopper.org/vim/syntax/pcp/fetchmail/ " Latest Revision: 2004-05-06 " arch-tag: 59d8adac-6e59-45f6-88cb-f9ba1e009c1f if version < 600 syntax clear elseif exists("b:current_syntax") finish endif " todo syn keyword fetchmailTodo contained FIXME TODO XXX NOTE " comments syn region fetchmailComment start="#" end="$" contains=fetchmailTodo " numbers syn match fetchmailNumber "\<\d\+\>" " strings syn region fetchmailString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=fetchmailStringEsc syn region fetchmailString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=fetchmailStringEsc " escape characters in strings syn match fetchmailStringEsc "\\\([ntb]\|0\d*\|x\x\+\)" " server entries syn region fetchmailKeyword transparent matchgroup=fetchmailKeyword start="\" end="\" contains=ALLBUT,fetchmailOptions,fetchmailSet " server options syn keyword fetchmailServerOpts contained via proto[col] local[domains] port auth[enticate] syn keyword fetchmailServerOpts contained timeout envelope qvirtual aka interface monitor syn keyword fetchmailServerOpts contained plugin plugout dns checkalias uidl interval netsec syn keyword fetchmailServerOpts contained principal esmtpname esmtppassword syn match fetchmailServerOpts contained "\= 508 || !exists("did_fetchmail_syn_inits") if version < 508 let did_fetchmail_syn_inits = 1 command -nargs=+ HiLink hi link else command -nargs=+ HiLink hi def link endif HiLink fetchmailComment Comment HiLink fetchmailTodo Todo HiLink fetchmailNumber Number HiLink fetchmailString String HiLink fetchmailStringEsc SpecialChar HiLink fetchmailKeyword Keyword HiLink fetchmailServerOpts Identifier HiLink fetchmailUserOpts Identifier HiLink fetchmailSpecial Special HiLink fetchmailSet Keyword HiLink fetchmailOptions Identifier delcommand HiLink endif let b:current_syntax = "fetchmail" " vim: set sts=2 sw=2: