annotate runtime/syntax/esmtprc.vim @ 9830:6049c1f01391 v7.4.2190

commit https://github.com/vim/vim/commit/50fa8dd00c241fa0786fe92ecc02fee4e5d28e06 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 9 22:58:21 2016 +0200 patch 7.4.2190 Problem: When startup test fails it's not easy to find out why. GUI test fails with Gnome. Solution: Add the help entry matches to a list an assert that. Set $HOME for Gnome to create .gnome2 directory.
author Christian Brabandt <cb@256bit.org>
date Tue, 09 Aug 2016 23:00:08 +0200
parents ceb5f21cda79
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
1 " Vim syntax file
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
2 " Language: Esmtp setup file (based on esmtp 0.5.0)
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
3 " Maintainer: Kornel Kielczewski <kornel@gazeta.pl>
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
4 " Last Change: 16 Feb 2005
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
5
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
6 " For version 5.x: Clear all syntax items
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
7 " For version 6.x: Quit when a syntax file was already loaded
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
8 if version < 600
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
9 syntax clear
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
10 elseif exists("b:current_syntax")
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
11 finish
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
12 endif
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
13
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
14 "All options
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
15 syntax keyword esmtprcOptions hostname username password starttls certificate_passphrase preconnect identity mda
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
16
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
17 "All keywords
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
18 syntax keyword esmtprcIdentifier default enabled disabled required
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
19
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
20 "We're trying to be smarer than /."*@.*/ :)
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
21 syntax match esmtprcAddress /[a-z0-9_.-]*[a-z0-9]\+@[a-z0-9_.-]*[a-z0-9]\+\.[a-z]\+/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
22 syntax match esmtprcFulladd /[a-z0-9_.-]*[a-z0-9]\+\.[a-z]\+:[0-9]\+/
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
23
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
24 "String..
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
25 syntax region esmtprcString start=/"/ end=/"/
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
26
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
27
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
28 highlight link esmtprcOptions Label
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
29 highlight link esmtprcString String
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
30 highlight link esmtprcAddress Type
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
31 highlight link esmtprcIdentifier Identifier
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
32 highlight link esmtprcFulladd Include
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
33
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
34 let b:current_syntax = "esmtprc"