comparison runtime/syntax/sudoers.vim @ 14372:2a4a2dc35c55

Update runtime files. commit https://github.com/vim/vim/commit/a9604e61451707b38fdcb088fbfaeea2b922fef6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 21 05:56:22 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sat, 21 Jul 2018 06:00:09 +0200
parents 1218c5353e2b
children 0ecb909e3249
comparison
equal deleted inserted replaced
14371:2fb503a18f12 14372:2a4a2dc35c55
1 " Vim syntax file 1 " Vim syntax file
2 " Language: sudoers(5) configuration files 2 " Language: sudoers(5) configuration files
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> 3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2011-02-24 4 " Latest Revision: 2018-07-19
5 " Recent Changes: Support for #include and #includedir.
5 6
6 if exists("b:current_syntax") 7 if exists("b:current_syntax")
7 finish 8 finish
8 endif 9 endif
9 10
22 syn cluster sudoersCmndSpecList contains=sudoersUserRunasBegin,sudoersPASSWD,@sudoersCmndInSpec 23 syn cluster sudoersCmndSpecList contains=sudoersUserRunasBegin,sudoersPASSWD,@sudoersCmndInSpec
23 24
24 syn keyword sudoersTodo contained TODO FIXME XXX NOTE 25 syn keyword sudoersTodo contained TODO FIXME XXX NOTE
25 26
26 syn region sudoersComment display oneline start='#' end='$' contains=sudoersTodo 27 syn region sudoersComment display oneline start='#' end='$' contains=sudoersTodo
28 syn region sudoersInclude display oneline start='#\(include\|includedir\)' end='$'
27 29
28 syn keyword sudoersAlias User_Alias Runas_Alias nextgroup=sudoersUserAlias skipwhite skipnl 30 syn keyword sudoersAlias User_Alias Runas_Alias nextgroup=sudoersUserAlias skipwhite skipnl
29 syn keyword sudoersAlias Host_Alias nextgroup=sudoersHostAlias skipwhite skipnl 31 syn keyword sudoersAlias Host_Alias nextgroup=sudoersHostAlias skipwhite skipnl
30 syn keyword sudoersAlias Cmnd_Alias nextgroup=sudoersCmndAlias skipwhite skipnl 32 syn keyword sudoersAlias Cmnd_Alias nextgroup=sudoersCmndAlias skipwhite skipnl
31 33
333 hi def link sudoersListParameterEquals Operator 335 hi def link sudoersListParameterEquals Operator
334 hi def link sudoersIntegerValue Number 336 hi def link sudoersIntegerValue Number
335 hi def link sudoersStringValue String 337 hi def link sudoersStringValue String
336 hi def link sudoersListValue String 338 hi def link sudoersListValue String
337 hi def link sudoersPASSWD Special 339 hi def link sudoersPASSWD Special
340 hi def link sudoersInclude Statement
338 341
339 let b:current_syntax = "sudoers" 342 let b:current_syntax = "sudoers"
340 343
341 let &cpo = s:cpo_save 344 let &cpo = s:cpo_save
342 unlet s:cpo_save 345 unlet s:cpo_save