1" Vim syntax file 2" Language: Esmtp setup file (based on esmtp 0.5.0) 3" Maintainer: Kornel Kielczewski <[email protected]> 4" Last Change: 16 Feb 2005 5 6" quit when a syntax file was already loaded 7if exists("b:current_syntax") 8 finish 9endif 10 11"All options 12syntax keyword esmtprcOptions hostname username password starttls certificate_passphrase preconnect identity mda 13 14"All keywords 15syntax keyword esmtprcIdentifier default enabled disabled required 16 17"We're trying to be smarer than /."*@.*/ :) 18syntax match esmtprcAddress /[a-z0-9_.-]*[a-z0-9]\+@[a-z0-9_.-]*[a-z0-9]\+\.[a-z]\+/ 19syntax match esmtprcFulladd /[a-z0-9_.-]*[a-z0-9]\+\.[a-z]\+:[0-9]\+/ 20 21"String.. 22syntax region esmtprcString start=/"/ end=/"/ 23 24 25highlight link esmtprcOptions Label 26highlight link esmtprcString String 27highlight link esmtprcAddress Type 28highlight link esmtprcIdentifier Identifier 29highlight link esmtprcFulladd Include 30 31let b:current_syntax = "esmtprc" 32