annotate runtime/syntax/mailaliases.vim @ 13885:d1c816cee4d2

Added tag v8.0.1813 for changeset 0ddb61a7404f9b005dc26f091431691c46f805dd
author Christian Brabandt <cb@256bit.org>
date Thu, 10 May 2018 21:30:07 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
809
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
2 " Language: aliases(5) local alias database file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
3 " Previous Maintainer: Nikolai Weibull <nikolai@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
4 " Latest Revision: 2008-04-14
809
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
5
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
7 finish
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
8 endif
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
9
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
11 set cpo&vim
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
12
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
13 syn keyword mailaliasesTodo contained TODO FIXME XXX NOTE
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
14
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
15 syn region mailaliasesComment display oneline start='^\s*#' end='$'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
16 \ contains=mailaliasesTodo,@Spell
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
17
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
18 syn match mailaliasesBegin display '^'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
19 \ nextgroup=mailaliasesName,
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
20 \ mailaliasesComment
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
21
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 809
diff changeset
22 syn match mailaliasesName contained '[[:alnum:]\._-]\+'
809
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
23 \ nextgroup=mailaliasesColon
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
24
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
25 syn region mailaliasesName contained oneline start=+"+
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
26 \ skip=+\\\\\|\\"+ end=+"+
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
27 \ nextgroup=mailaliasesColon
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
28
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
29 syn match mailaliasesColon contained ':'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
30 \ nextgroup=@mailaliasesValue
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
31 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
32
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
33 syn cluster mailaliasesValue contains=mailaliasesValueAddress,
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
34 \ mailaliasesValueFile,
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
35 \ mailaliasesValueCommand,
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
36 \ mailaliasesValueInclude
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
37
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
38 syn match mailaliasesValueAddress contained '[^ \t/|,]\+'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
39 \ nextgroup=mailaliasesValueSep
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
40 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
41
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
42 syn match mailaliasesValueFile contained '/[^,]*'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
43 \ nextgroup=mailaliasesValueSep
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
44 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
45
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
46 syn match mailaliasesValueCommand contained '|[^,]*'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
47 \ nextgroup=mailaliasesValueSep
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
48 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
49
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
50 syn match mailaliasesValueInclude contained ':include:[^,]*'
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
51 \ nextgroup=mailaliasesValueSep
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
52 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
53
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
54 syn match mailaliasesValueSep contained ','
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
55 \ nextgroup=@mailaliasesValue
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
56 \ skipwhite skipnl
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
57
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
58 hi def link mailaliasesTodo Todo
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
59 hi def link mailaliasesComment Comment
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
60 hi def link mailaliasesName Identifier
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
61 hi def link mailaliasesColon Delimiter
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
62 hi def link mailaliasesValueAddress String
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
63 hi def link mailaliasesValueFile String
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
64 hi def link mailaliasesValueCommand String
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
65 hi def link mailaliasesValueInclude PreProc
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
66 hi def link mailaliasesValueSep Delimiter
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
67
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
68 let b:current_syntax = "mailaliases"
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
69
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
70 let &cpo = s:cpo_save
4f1b94b51e99 updated for version 7.0b02
vimboss
parents:
diff changeset
71 unlet s:cpo_save