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