annotate runtime/syntax/esmtprc.vim @ 32331:2a096f5f527c v9.0.1497

patch 9.0.1497: the ruler percentage can't be localized Commit: https://github.com/vim/vim/commit/971cd2b8bc3e3a7faa886162cd7568938c627882 Author: Emir SARI <emir_sari@icloud.com> Date: Sat Apr 29 12:09:53 2023 +0100 patch 9.0.1497: the ruler percentage can't be localized Problem: The ruler percentage can't be localized. Solution: Use a string that can be translated. (Emir Sari, closes https://github.com/vim/vim/issues/12311)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Apr 2023 13:15:04 +0200
parents 43efa4f5a8ea
children
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
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4992
diff changeset
6 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4992
diff changeset
7 if exists("b:current_syntax")
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
8 finish
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
9 endif
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
10
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
11 "All options
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
12 syntax keyword esmtprcOptions hostname username password starttls certificate_passphrase preconnect identity mda
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
13
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
14 "All keywords
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
15 syntax keyword esmtprcIdentifier default enabled disabled required
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
16
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
17 "We're trying to be smarer than /."*@.*/ :)
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
18 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
19 syntax match esmtprcFulladd /[a-z0-9_.-]*[a-z0-9]\+\.[a-z]\+:[0-9]\+/
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
20
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
21 "String..
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
22 syntax region esmtprcString start=/"/ end=/"/
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
23
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
24
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
25 highlight link esmtprcOptions Label
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
26 highlight link esmtprcString String
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
27 highlight link esmtprcAddress Type
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
28 highlight link esmtprcIdentifier Identifier
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
29 highlight link esmtprcFulladd Include
167
c93c9cad9618 updated for version 7.0051
vimboss
parents:
diff changeset
30
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 167
diff changeset
31 let b:current_syntax = "esmtprc"