]> git.pld-linux.org Git - packages/vim.git/blame - sudoers-include.patch
- unconditional noarch subpackages
[packages/vim.git] / sudoers-include.patch
CommitLineData
dd758d1f
ER
1Status: Mailed to maintainer, but no response
2
3To: Nikolai Weibull <now@bitwi.se>
4Date: Fri, 27 Dec 2013 19:57:35 +0200
5
2df0984e
ER
6--- vim74/runtime/syntax/sudoers.vim 2011-02-25 15:05:44.000000000 +0200
7+++ vim74/runtime/syntax/sudoers.vim 2013-12-27 20:00:19.631344071 +0200
0e82c756 8@@ -24,7 +24,7 @@ syn cluster sudoersCmndSpecList co
2df0984e
ER
9
10 syn keyword sudoersTodo contained TODO FIXME XXX NOTE
11
12-syn region sudoersComment display oneline start='#' end='$' contains=sudoersTodo
13+syn region sudoersComment display oneline start='#' end='$' contains=sudoersTodo,sudoersIncludeDirective
0e82c756 14 syn region sudoersInclude display oneline start='#\(include\|includedir\)' end='$'
2df0984e
ER
15
16 syn keyword sudoersAlias User_Alias Runas_Alias nextgroup=sudoersUserAlias skipwhite skipnl
2df0984e
ER
17@@ -142,6 +142,8 @@
18 syn match sudoersCommandArgsInSpec contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersCommandArgsInSpec,@sudoersCmndSpec skipwhite
19 syn match sudoersCommandEmptyInSpec contained '""' nextgroup=@sudoersCmndSpec skipwhite skipnl
20
21+syn match sudoersIncludeDirective '^#include\%(dir\)\=' nextgroup=sudoersStringParameter,sudoersListParameter
22+
23 syn keyword sudoersDefaultEntry Defaults nextgroup=sudoersDefaultTypeAt,sudoersDefaultTypeColon,sudoersDefaultTypeGreaterThan,@sudoersParameter skipwhite skipnl
24 syn match sudoersDefaultTypeAt contained '@' nextgroup=@sudoersHost skipwhite skipnl
25 syn match sudoersDefaultTypeColon contained ':' nextgroup=@sudoersUser skipwhite skipnl
26@@ -320,6 +322,7 @@
27 hi def link sudoersCommandArgs String
28 hi def link sudoersCommandEmpty Special
29 hi def link sudoersDefaultEntry Keyword
30+hi def link sudoersIncludeDirective Special
31 hi def link sudoersDefaultTypeAt Special
32 hi def link sudoersDefaultTypeColon Special
33 hi def link sudoersDefaultTypeGreaterThan Special
This page took 0.127296 seconds and 4 git commands to generate.