annotate runtime/syntax/sudoers.vim @ 14997:0058cdd5b752 v8.1.0510

patch 8.1.0510: filter test fails when $LANG is C.UTF-8 commit https://github.com/vim/vim/commit/dcd71cbaedf75dd8e5c5a45c5c2e3ec7ee552dce Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 4 14:40:47 2018 +0100 patch 8.1.0510: filter test fails when $LANG is C.UTF-8 Problem: Filter test fails when $LANG is C.UTF-8. Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt, closes #3577)
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Nov 2018 14:45:06 +0100
parents 0ecb909e3249
children 4ab4ef0c48b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2709
diff changeset
2 " Language: sudoers(5) configuration files
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2709
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
4 " Latest Revision: 2018-08-18
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
5 " Recent Changes: Support for #include and #includedir.
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
6 " Added many new options (Samuel D. Leslie)
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
7
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
8 if exists("b:current_syntax")
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
9 finish
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
10 endif
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
11
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
12 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
13 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
14
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
15 " TODO: instead of 'skipnl', we would like to match a specific group that would
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
16 " match \\$ and then continue with the nextgroup, actually, the skipnl doesn't
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
17 " work...
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
18 " TODO: treat 'ALL' like a special (yay, a bundle of new rules!!!)
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
19
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
20 syn match sudoersUserSpec '^' nextgroup=@sudoersUserInSpec skipwhite
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
21
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
22 syn match sudoersSpecEquals contained '=' nextgroup=@sudoersCmndSpecList skipwhite
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
23
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
24 syn cluster sudoersCmndSpecList contains=sudoersUserRunasBegin,sudoersPASSWD,@sudoersCmndInSpec
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
25
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
26 syn keyword sudoersTodo contained TODO FIXME XXX NOTE
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
27
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
28 syn region sudoersComment display oneline start='#' end='$' contains=sudoersTodo
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
29 syn region sudoersInclude display oneline start='#\(include\|includedir\)' end='$'
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
30
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
31 syn keyword sudoersAlias User_Alias Runas_Alias nextgroup=sudoersUserAlias skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
32 syn keyword sudoersAlias Host_Alias nextgroup=sudoersHostAlias skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
33 syn keyword sudoersAlias Cmnd_Alias nextgroup=sudoersCmndAlias skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
34
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
35 syn match sudoersUserAlias contained '\<\u[A-Z0-9_]*\>' nextgroup=sudoersUserAliasEquals skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
36 syn match sudoersUserNameInList contained '\<\l\+\>' nextgroup=@sudoersUserList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
37 syn match sudoersUIDInList contained '#\d\+\>' nextgroup=@sudoersUserList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
38 syn match sudoersGroupInList contained '%\l\+\>' nextgroup=@sudoersUserList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
39 syn match sudoersUserNetgroupInList contained '+\l\+\>' nextgroup=@sudoersUserList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
40 syn match sudoersUserAliasInList contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersUserList skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
41
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
42 syn match sudoersUserName contained '\<\l\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
43 syn match sudoersUID contained '#\d\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
44 syn match sudoersGroup contained '%\l\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
45 syn match sudoersUserNetgroup contained '+\l\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
46 syn match sudoersUserAliasRef contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersParameter skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
47
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
48 syn match sudoersUserNameInSpec contained '\<\l\+\>' nextgroup=@sudoersUserSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
49 syn match sudoersUIDInSpec contained '#\d\+\>' nextgroup=@sudoersUserSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
50 syn match sudoersGroupInSpec contained '%\l\+\>' nextgroup=@sudoersUserSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
51 syn match sudoersUserNetgroupInSpec contained '+\l\+\>' nextgroup=@sudoersUserSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
52 syn match sudoersUserAliasInSpec contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersUserSpec skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
53
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
54 syn match sudoersUserNameInRunas contained '\<\l\+\>' nextgroup=@sudoersUserRunas skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
55 syn match sudoersUIDInRunas contained '#\d\+\>' nextgroup=@sudoersUserRunas skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
56 syn match sudoersGroupInRunas contained '%\l\+\>' nextgroup=@sudoersUserRunas skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
57 syn match sudoersUserNetgroupInRunas contained '+\l\+\>' nextgroup=@sudoersUserRunas skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
58 syn match sudoersUserAliasInRunas contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersUserRunas skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
59
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
60 syn match sudoersHostAlias contained '\<\u[A-Z0-9_]*\>' nextgroup=sudoersHostAliasEquals skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
61 syn match sudoersHostNameInList contained '\<\l\+\>' nextgroup=@sudoersHostList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
62 syn match sudoersIPAddrInList contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}' nextgroup=@sudoersHostList skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
63 syn match sudoersNetworkInList contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}\%(/\%(\%(\d\{1,3}\.\)\{3}\d\{1,3}\|\d\+\)\)\=' nextgroup=@sudoersHostList skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
64 syn match sudoersHostNetgroupInList contained '+\l\+\>' nextgroup=@sudoersHostList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
65 syn match sudoersHostAliasInList contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersHostList skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
66
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
67 syn match sudoersHostName contained '\<\l\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
68 syn match sudoersIPAddr contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
69 syn match sudoersNetwork contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}\%(/\%(\%(\d\{1,3}\.\)\{3}\d\{1,3}\|\d\+\)\)\=' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
70 syn match sudoersHostNetgroup contained '+\l\+\>' nextgroup=@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
71 syn match sudoersHostAliasRef contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersParameter skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
72
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
73 syn match sudoersHostNameInSpec contained '\<\l\+\>' nextgroup=@sudoersHostSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
74 syn match sudoersIPAddrInSpec contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}' nextgroup=@sudoersHostSpec skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
75 syn match sudoersNetworkInSpec contained '\%(\d\{1,3}\.\)\{3}\d\{1,3}\%(/\%(\%(\d\{1,3}\.\)\{3}\d\{1,3}\|\d\+\)\)\=' nextgroup=@sudoersHostSpec skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
76 syn match sudoersHostNetgroupInSpec contained '+\l\+\>' nextgroup=@sudoersHostSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
77 syn match sudoersHostAliasInSpec contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersHostSpec skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
78
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
79 syn match sudoersCmndAlias contained '\<\u[A-Z0-9_]*\>' nextgroup=sudoersCmndAliasEquals skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
80 syn match sudoersCmndNameInList contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=@sudoersCmndList,sudoersCommandEmpty,sudoersCommandArgs skipwhite
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
81 syn match sudoersCmndAliasInList contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersCmndList skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
82
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
83 syn match sudoersCmndNameInSpec contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=@sudoersCmndSpec,sudoersCommandEmptyInSpec,sudoersCommandArgsInSpec skipwhite
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
84 syn match sudoersCmndAliasInSpec contained '\<\u[A-Z0-9_]*\>' nextgroup=@sudoersCmndSpec skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
85
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
86 syn match sudoersUserAliasEquals contained '=' nextgroup=@sudoersUserInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
87 syn match sudoersUserListComma contained ',' nextgroup=@sudoersUserInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
88 syn match sudoersUserListColon contained ':' nextgroup=sudoersUserAlias skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
89 syn cluster sudoersUserList contains=sudoersUserListComma,sudoersUserListColon
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
90
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
91 syn match sudoersUserSpecComma contained ',' nextgroup=@sudoersUserInSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
92 syn cluster sudoersUserSpec contains=sudoersUserSpecComma,@sudoersHostInSpec
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
93
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
94 syn match sudoersUserRunasBegin contained '(' nextgroup=@sudoersUserInRunas skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
95 syn match sudoersUserRunasComma contained ',' nextgroup=@sudoersUserInRunas skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
96 syn match sudoersUserRunasEnd contained ')' nextgroup=sudoersPASSWD,@sudoersCmndInSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
97 syn cluster sudoersUserRunas contains=sudoersUserRunasComma,@sudoersUserInRunas,sudoersUserRunasEnd
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
98
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
99
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
100 syn match sudoersHostAliasEquals contained '=' nextgroup=@sudoersHostInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
101 syn match sudoersHostListComma contained ',' nextgroup=@sudoersHostInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
102 syn match sudoersHostListColon contained ':' nextgroup=sudoersHostAlias skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
103 syn cluster sudoersHostList contains=sudoersHostListComma,sudoersHostListColon
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
104
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
105 syn match sudoersHostSpecComma contained ',' nextgroup=@sudoersHostInSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
106 syn cluster sudoersHostSpec contains=sudoersHostSpecComma,sudoersSpecEquals
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
107
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
108
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
109 syn match sudoersCmndAliasEquals contained '=' nextgroup=@sudoersCmndInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
110 syn match sudoersCmndListComma contained ',' nextgroup=@sudoersCmndInList skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
111 syn match sudoersCmndListColon contained ':' nextgroup=sudoersCmndAlias skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
112 syn cluster sudoersCmndList contains=sudoersCmndListComma,sudoersCmndListColon
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
113
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
114 syn match sudoersCmndSpecComma contained ',' nextgroup=@sudoersCmndSpecList skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
115 syn match sudoersCmndSpecColon contained ':' nextgroup=@sudoersUserInSpec skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
116 syn cluster sudoersCmndSpec contains=sudoersCmndSpecComma,sudoersCmndSpecColon
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
117
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
118 syn cluster sudoersUserInList contains=sudoersUserNegationInList,sudoersUserNameInList,sudoersUIDInList,sudoersGroupInList,sudoersUserNetgroupInList,sudoersUserAliasInList
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
119 syn cluster sudoersHostInList contains=sudoersHostNegationInList,sudoersHostNameInList,sudoersIPAddrInList,sudoersNetworkInList,sudoersHostNetgroupInList,sudoersHostAliasInList
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
120 syn cluster sudoersCmndInList contains=sudoersCmndNegationInList,sudoersCmndNameInList,sudoersCmndAliasInList
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
121
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
122 syn cluster sudoersUser contains=sudoersUserNegation,sudoersUserName,sudoersUID,sudoersGroup,sudoersUserNetgroup,sudoersUserAliasRef
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
123 syn cluster sudoersHost contains=sudoersHostNegation,sudoersHostName,sudoersIPAddr,sudoersNetwork,sudoersHostNetgroup,sudoersHostAliasRef
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
124
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
125 syn cluster sudoersUserInSpec contains=sudoersUserNegationInSpec,sudoersUserNameInSpec,sudoersUIDInSpec,sudoersGroupInSpec,sudoersUserNetgroupInSpec,sudoersUserAliasInSpec
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
126 syn cluster sudoersHostInSpec contains=sudoersHostNegationInSpec,sudoersHostNameInSpec,sudoersIPAddrInSpec,sudoersNetworkInSpec,sudoersHostNetgroupInSpec,sudoersHostAliasInSpec
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
127 syn cluster sudoersUserInRunas contains=sudoersUserNegationInRunas,sudoersUserNameInRunas,sudoersUIDInRunas,sudoersGroupInRunas,sudoersUserNetgroupInRunas,sudoersUserAliasInRunas
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
128 syn cluster sudoersCmndInSpec contains=sudoersCmndNegationInSpec,sudoersCmndNameInSpec,sudoersCmndAliasInSpec
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
129
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
130 syn match sudoersUserNegationInList contained '!\+' nextgroup=@sudoersUserInList skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
131 syn match sudoersHostNegationInList contained '!\+' nextgroup=@sudoersHostInList skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
132 syn match sudoersCmndNegationInList contained '!\+' nextgroup=@sudoersCmndInList skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
133
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
134 syn match sudoersUserNegation contained '!\+' nextgroup=@sudoersUser skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
135 syn match sudoersHostNegation contained '!\+' nextgroup=@sudoersHost skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
136
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
137 syn match sudoersUserNegationInSpec contained '!\+' nextgroup=@sudoersUserInSpec skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
138 syn match sudoersHostNegationInSpec contained '!\+' nextgroup=@sudoersHostInSpec skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
139 syn match sudoersUserNegationInRunas contained '!\+' nextgroup=@sudoersUserInRunas skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
140 syn match sudoersCmndNegationInSpec contained '!\+' nextgroup=@sudoersCmndInSpec skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
141
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
142 syn match sudoersCommandArgs contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersCommandArgs,@sudoersCmndList skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
143 syn match sudoersCommandEmpty contained '""' nextgroup=@sudoersCmndList skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
144
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
145 syn match sudoersCommandArgsInSpec contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersCommandArgsInSpec,@sudoersCmndSpec skipwhite
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
146 syn match sudoersCommandEmptyInSpec contained '""' nextgroup=@sudoersCmndSpec skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
147
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
148 syn keyword sudoersDefaultEntry Defaults nextgroup=sudoersDefaultTypeAt,sudoersDefaultTypeColon,sudoersDefaultTypeGreaterThan,@sudoersParameter skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
149 syn match sudoersDefaultTypeAt contained '@' nextgroup=@sudoersHost skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
150 syn match sudoersDefaultTypeColon contained ':' nextgroup=@sudoersUser skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
151 syn match sudoersDefaultTypeGreaterThan contained '>' nextgroup=@sudoersUser skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
152
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
153 " TODO: could also deal with special characters here
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
154 syn match sudoersBooleanParameter contained '!' nextgroup=sudoersBooleanParameter skipwhite skipnl
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
155 syn keyword sudoersBooleanParameter contained skipwhite skipnl
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
156 \ always_query_group_plugin
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
157 \ always_set_home
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
158 \ authenticate
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
159 \ closefrom_override
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
160 \ compress_io
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
161 \ env_editor
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
162 \ env_reset
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
163 \ exec_background
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
164 \ fast_glob
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
165 \ fqdn
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
166 \ ignore_audit_errors
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
167 \ ignore_dot
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
168 \ ignore_iolog_errors
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
169 \ ignore_local_sudoers
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
170 \ ignore_logfile_errors
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
171 \ ignore_unknown_defaults
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
172 \ insults
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
173 \ log_host
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
174 \ log_input
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
175 \ log_output
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
176 \ log_year
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
177 \ long_otp_prompt
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
178 \ mail_all_cmnds
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
179 \ mail_always
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
180 \ mail_badpass
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
181 \ mail_no_host
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
182 \ mail_no_perms
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
183 \ mail_no_user
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
184 \ match_group_by_gid
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
185 \ netgroup_tuple
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
186 \ noexec
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
187 \ pam_session
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
188 \ pam_setcred
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
189 \ passprompt_override
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
190 \ path_info
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
191 \ preserve_groups
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
192 \ pwfeedback
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
193 \ requiretty
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
194 \ root_sudo
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
195 \ rootpw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
196 \ runaspw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
197 \ set_home
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
198 \ set_logname
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
199 \ set_utmp
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
200 \ setenv
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
201 \ shell_noargs
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
202 \ stay_setuid
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
203 \ sudoedit_checkdir
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
204 \ sudoedit_fellow
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
205 \ syslog_pid
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
206 \ targetpw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
207 \ tty_tickets
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
208 \ umask_override
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
209 \ use_netgroups
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
210 \ use_pty
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
211 \ user_command_timeouts
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
212 \ utmp_runas
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
213 \ visiblepw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
214
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
215 syn keyword sudoersIntegerParameter contained
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
216 \ nextgroup=sudoersIntegerParameterEquals
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
217 \ skipwhite skipnl
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
218 \ closefrom
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
219 \ command_timeout
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
220 \ loglinelen
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
221 \ maxseq
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
222 \ passwd_timeout
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
223 \ passwd_tries
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
224 \ syslog_maxlen
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
225 \ timestamp_timeout
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
226 \ umask
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
227
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
228 syn keyword sudoersStringParameter contained
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
229 \ nextgroup=sudoersStringParameterEquals
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
230 \ skipwhite skipnl
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
231 \ askpass
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
232 \ badpass_message
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
233 \ editor
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
234 \ env_file
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
235 \ exempt_group
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
236 \ fdexec
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
237 \ group_plugin
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
238 \ iolog_dir
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
239 \ iolog_file
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
240 \ iolog_flush
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
241 \ iolog_group
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
242 \ iolog_mode
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
243 \ iolog_user
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
244 \ lecture
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
245 \ lecture_file
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
246 \ lecture_status_dir
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
247 \ listpw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
248 \ logfile
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
249 \ mailerflags
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
250 \ mailerpath
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
251 \ mailfrom
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
252 \ mailsub
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
253 \ mailto
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
254 \ noexec_file
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
255 \ pam_login_service
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
256 \ pam_service
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
257 \ passprompt
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
258 \ restricted_env_file
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
259 \ role
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
260 \ runas_default
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
261 \ secure_path
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
262 \ sudoers_locale
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
263 \ syslog
14637
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
264 \ syslog_badpri
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
265 \ syslog_goodpri
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
266 \ timestamp_type
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
267 \ timestampdir
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
268 \ timestampowner
0ecb909e3249 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14372
diff changeset
269 \ type
2709
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
270 \ verifypw
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
271
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
272 syn keyword sudoersListParameter contained
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
273 \ nextgroup=sudoersListParameterEquals
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
274 \ skipwhite skipnl
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
275 \ env_check
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
276 \ env_delete
b01a37ab556b Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 1621
diff changeset
277 \ env_keep
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
278
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
279 syn match sudoersParameterListComma contained ',' nextgroup=@sudoersParameter skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
280
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 839
diff changeset
281 syn cluster sudoersParameter contains=sudoersBooleanParameter,sudoersIntegerParameter,sudoersStringParameter,sudoersListParameter
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
282
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
283 syn match sudoersIntegerParameterEquals contained '[+-]\==' nextgroup=sudoersIntegerValue skipwhite skipnl
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
284 syn match sudoersStringParameterEquals contained '[+-]\==' nextgroup=sudoersStringValue skipwhite skipnl
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
285 syn match sudoersListParameterEquals contained '[+-]\==' nextgroup=sudoersListValue skipwhite skipnl
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
286
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
287 syn match sudoersIntegerValue contained '\d\+' nextgroup=sudoersParameterListComma skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
288 syn match sudoersStringValue contained '[^[:space:],:=\\]*\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersParameterListComma skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
289 syn region sudoersStringValue contained start=+"+ skip=+\\"+ end=+"+ nextgroup=sudoersParameterListComma skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
290 syn match sudoersListValue contained '[^[:space:],:=\\]*\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersParameterListComma skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
291 syn region sudoersListValue contained start=+"+ skip=+\\"+ end=+"+ nextgroup=sudoersParameterListComma skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
292
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
293 syn match sudoersPASSWD contained '\%(NO\)\=PASSWD:' nextgroup=@sudoersCmndInSpec skipwhite
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
294
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
295 hi def link sudoersSpecEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
296 hi def link sudoersTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
297 hi def link sudoersComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
298 hi def link sudoersAlias Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
299 hi def link sudoersUserAlias Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
300 hi def link sudoersUserNameInList String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
301 hi def link sudoersUIDInList Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
302 hi def link sudoersGroupInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
303 hi def link sudoersUserNetgroupInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
304 hi def link sudoersUserAliasInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
305 hi def link sudoersUserName String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
306 hi def link sudoersUID Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
307 hi def link sudoersGroup PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
308 hi def link sudoersUserNetgroup PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
309 hi def link sudoersUserAliasRef PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
310 hi def link sudoersUserNameInSpec String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
311 hi def link sudoersUIDInSpec Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
312 hi def link sudoersGroupInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
313 hi def link sudoersUserNetgroupInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
314 hi def link sudoersUserAliasInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
315 hi def link sudoersUserNameInRunas String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
316 hi def link sudoersUIDInRunas Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
317 hi def link sudoersGroupInRunas PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
318 hi def link sudoersUserNetgroupInRunas PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
319 hi def link sudoersUserAliasInRunas PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
320 hi def link sudoersHostAlias Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
321 hi def link sudoersHostNameInList String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
322 hi def link sudoersIPAddrInList Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
323 hi def link sudoersNetworkInList Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
324 hi def link sudoersHostNetgroupInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
325 hi def link sudoersHostAliasInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
326 hi def link sudoersHostName String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
327 hi def link sudoersIPAddr Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
328 hi def link sudoersNetwork Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
329 hi def link sudoersHostNetgroup PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
330 hi def link sudoersHostAliasRef PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
331 hi def link sudoersHostNameInSpec String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
332 hi def link sudoersIPAddrInSpec Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
333 hi def link sudoersNetworkInSpec Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
334 hi def link sudoersHostNetgroupInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
335 hi def link sudoersHostAliasInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
336 hi def link sudoersCmndAlias Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
337 hi def link sudoersCmndNameInList String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
338 hi def link sudoersCmndAliasInList PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
339 hi def link sudoersCmndNameInSpec String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
340 hi def link sudoersCmndAliasInSpec PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
341 hi def link sudoersUserAliasEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
342 hi def link sudoersUserListComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
343 hi def link sudoersUserListColon Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
344 hi def link sudoersUserSpecComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
345 hi def link sudoersUserRunasBegin Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
346 hi def link sudoersUserRunasComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
347 hi def link sudoersUserRunasEnd Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
348 hi def link sudoersHostAliasEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
349 hi def link sudoersHostListComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
350 hi def link sudoersHostListColon Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
351 hi def link sudoersHostSpecComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
352 hi def link sudoersCmndAliasEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
353 hi def link sudoersCmndListComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
354 hi def link sudoersCmndListColon Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
355 hi def link sudoersCmndSpecComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
356 hi def link sudoersCmndSpecColon Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
357 hi def link sudoersUserNegationInList Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
358 hi def link sudoersHostNegationInList Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
359 hi def link sudoersCmndNegationInList Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
360 hi def link sudoersUserNegation Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
361 hi def link sudoersHostNegation Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
362 hi def link sudoersUserNegationInSpec Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
363 hi def link sudoersHostNegationInSpec Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
364 hi def link sudoersUserNegationInRunas Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
365 hi def link sudoersCmndNegationInSpec Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
366 hi def link sudoersCommandArgs String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
367 hi def link sudoersCommandEmpty Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
368 hi def link sudoersDefaultEntry Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
369 hi def link sudoersDefaultTypeAt Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
370 hi def link sudoersDefaultTypeColon Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
371 hi def link sudoersDefaultTypeGreaterThan Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
372 hi def link sudoersBooleanParameter Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
373 hi def link sudoersIntegerParameter Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
374 hi def link sudoersStringParameter Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
375 hi def link sudoersListParameter Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
376 hi def link sudoersParameterListComma Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
377 hi def link sudoersIntegerParameterEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
378 hi def link sudoersStringParameterEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
379 hi def link sudoersListParameterEquals Operator
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
380 hi def link sudoersIntegerValue Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
381 hi def link sudoersStringValue String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
382 hi def link sudoersListValue String
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
383 hi def link sudoersPASSWD Special
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11062
diff changeset
384 hi def link sudoersInclude Statement
39
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
385
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
386 let b:current_syntax = "sudoers"
410fa1a31baf updated for version 7.0023
vimboss
parents:
diff changeset
387
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
388 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 39
diff changeset
389 unlet s:cpo_save