]> git.pld-linux.org Git - packages/vim.git/blob - sudoers-include.patch
- rebuild with ruby 2.4
[packages/vim.git] / sudoers-include.patch
1 Status: Mailed to maintainer, but no response
2
3 To: Nikolai Weibull <now@bitwi.se>
4 Date: Fri, 27 Dec 2013 19:57:35 +0200
5
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
8 @@ -23,7 +23,7 @@
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
14  
15  syn keyword sudoersAlias              User_Alias Runas_Alias nextgroup=sudoersUserAlias skipwhite skipnl
16  syn keyword sudoersAlias              Host_Alias nextgroup=sudoersHostAlias skipwhite skipnl
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.02742 seconds and 3 git commands to generate.