annotate runtime/syntax/group.vim @ 17035:a4b23aa54dca

Added tag v8.1.1517 for changeset d4a7c690c8e6b2185d545ab134017b239b70ecce
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Jun 2019 21:30:06 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 3750
diff changeset
2 " Language: group(5) user group file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 3750
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 3750
diff changeset
4 " Latest Revision: 2012-08-05
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 finish
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 set cpo&vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 syn match groupBegin display '^' nextgroup=groupName
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
14
3750
536aa8b0c934 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 839
diff changeset
15 syn match groupName contained display '[^:]\+'
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
16 \ nextgroup=groupPasswordColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
17
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
18 syn match groupPasswordColon contained display ':'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
19 \ nextgroup=groupPassword,groupShadow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
20
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
21 syn match groupPassword contained display '[^:]*'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
22 \ nextgroup=groupGIDColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
23
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
24 syn match groupShadow contained display '[x*]' nextgroup=groupGIDColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
25
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
26 syn match groupGIDColon contained display ':' nextgroup=groupGID
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
27
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
28 syn match groupGID contained display '\d*'
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
29 \ nextgroup=groupUserListColon
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
30
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
31 syn match groupUserListColon contained display ':' nextgroup=groupUserList
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
32
3750
536aa8b0c934 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 839
diff changeset
33 syn match groupUserList contained '[^,]\+'
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
34 \ nextgroup=groupUserListSep
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
35
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
36 syn match groupUserListSep contained display ',' nextgroup=groupUserList
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
37
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
38 hi def link groupDelimiter Normal
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
39 hi def link groupName Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
40 hi def link groupPasswordColon groupDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
41 hi def link groupPassword Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
42 hi def link groupShadow Special
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
43 hi def link groupGIDColon groupDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
44 hi def link groupGID Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
45 hi def link groupUserListColon groupDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
46 hi def link groupUserList Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
47 hi def link groupUserListSep groupDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
48
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
49 let b:current_syntax = "group"
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
50
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
51 let &cpo = s:cpo_save
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
52 unlet s:cpo_save