]> git.pld-linux.org Git - packages/vim.git/blame - sudoers-include.patch
Up to 9.1.0168
[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
2df0984e
ER
8@@ -142,6 +142,8 @@
9 syn match sudoersCommandArgsInSpec contained '[^[:space:],:=\\]\+\%(\\[[:space:],:=\\][^[:space:],:=\\]*\)*' nextgroup=sudoersCommandArgsInSpec,@sudoersCmndSpec skipwhite
10 syn match sudoersCommandEmptyInSpec contained '""' nextgroup=@sudoersCmndSpec skipwhite skipnl
11
12+syn match sudoersIncludeDirective '^#include\%(dir\)\=' nextgroup=sudoersStringParameter,sudoersListParameter
13+
14 syn keyword sudoersDefaultEntry Defaults nextgroup=sudoersDefaultTypeAt,sudoersDefaultTypeColon,sudoersDefaultTypeGreaterThan,@sudoersParameter skipwhite skipnl
15 syn match sudoersDefaultTypeAt contained '@' nextgroup=@sudoersHost skipwhite skipnl
16 syn match sudoersDefaultTypeColon contained ':' nextgroup=@sudoersUser skipwhite skipnl
17@@ -320,6 +322,7 @@
18 hi def link sudoersCommandArgs String
19 hi def link sudoersCommandEmpty Special
20 hi def link sudoersDefaultEntry Keyword
21+hi def link sudoersIncludeDirective Special
22 hi def link sudoersDefaultTypeAt Special
23 hi def link sudoersDefaultTypeColon Special
24 hi def link sudoersDefaultTypeGreaterThan Special
This page took 0.081899 seconds and 4 git commands to generate.