annotate runtime/syntax/loginaccess.vim @ 18055:9ca92f1defef

Added tag v8.1.2022 for changeset 88b5c2b4e3d2f11c1bd5932838cf64843f6115e6
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 Sep 2019 22:30:04 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: login.access(5) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13 syn keyword loginaccessTodo contained TODO FIXME XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
14
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15 syn region loginaccessComment display oneline start='^#' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \ contains=loginaccessTodo,@Spell
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 syn match loginaccessBegin display '^'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \ nextgroup=loginaccessPermission,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20 \ loginaccessComment skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
21
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22 syn match loginaccessPermission contained display '[^#]'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
23 \ contains=loginaccessPermError
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
24 \ nextgroup=loginaccessUserSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26 syn match loginaccessPermError contained display '[^+-]'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 syn match loginaccessUserSep contained display ':'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 \ nextgroup=loginaccessUsers,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
30 \ loginaccessAllUsers,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 \ loginaccessExceptUsers
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33 syn match loginaccessUsers contained display '[^, \t:]\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 \ nextgroup=loginaccessUserIntSep,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35 \ loginaccessOriginSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
37 syn match loginaccessAllUsers contained display '\<ALL\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
38 \ nextgroup=loginaccessUserIntSep,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
39 \ loginaccessOriginSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
40
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
41 syn match loginaccessLocalUsers contained display '\<LOCAL\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
42 \ nextgroup=loginaccessUserIntSep,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
43 \ loginaccessOriginSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
44
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
45 syn match loginaccessExceptUsers contained display '\<EXCEPT\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
46 \ nextgroup=loginaccessUserIntSep,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
47 \ loginaccessOriginSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
48
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
49 syn match loginaccessUserIntSep contained display '[, \t]'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
50 \ nextgroup=loginaccessUsers,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
51 \ loginaccessAllUsers,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
52 \ loginaccessExceptUsers
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
53
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
54 syn match loginaccessOriginSep contained display ':'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
55 \ nextgroup=loginaccessOrigins,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
56 \ loginaccessAllOrigins,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
57 \ loginaccessExceptOrigins
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
58
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
59 syn match loginaccessOrigins contained display '[^, \t]\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
60 \ nextgroup=loginaccessOriginIntSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
61
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
62 syn match loginaccessAllOrigins contained display '\<ALL\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
63 \ nextgroup=loginaccessOriginIntSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
64
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
65 syn match loginaccessLocalOrigins contained display '\<LOCAL\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
66 \ nextgroup=loginaccessOriginIntSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
67
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
68 syn match loginaccessExceptOrigins contained display '\<EXCEPT\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
69 \ nextgroup=loginaccessOriginIntSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
70
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
71 syn match loginaccessOriginIntSep contained display '[, \t]'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
72 \ nextgroup=loginaccessOrigins,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
73 \ loginaccessAllOrigins,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
74 \ loginaccessExceptOrigins
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
75
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
76 hi def link loginaccessTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
77 hi def link loginaccessComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
78 hi def link loginaccessPermission Type
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
79 hi def link loginaccessPermError Error
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
80 hi def link loginaccessUserSep Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
81 hi def link loginaccessUsers Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
82 hi def link loginaccessAllUsers Macro
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
83 hi def link loginaccessLocalUsers Macro
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
84 hi def link loginaccessExceptUsers Operator
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
85 hi def link loginaccessUserIntSep loginaccessUserSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
86 hi def link loginaccessOriginSep loginaccessUserSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
87 hi def link loginaccessOrigins Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
88 hi def link loginaccessAllOrigins Macro
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
89 hi def link loginaccessLocalOrigins Macro
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
90 hi def link loginaccessExceptOrigins loginaccessExceptUsers
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
91 hi def link loginaccessOriginIntSep loginaccessUserSep
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
92
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
93 let b:current_syntax = "loginaccess"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
94
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
95 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
96 unlet s:cpo_save