2 " Language: udev(8) configuration file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19
6 if exists("b:current_syntax")
13 syn keyword udevconfTodo contained TODO FIXME XXX NOTE
15 syn region udevconfComment display oneline start='^\s*#' end='$'
16 \ contains=udevconfTodo,@Spell
18 syn match udevconfBegin display '^'
19 \ nextgroup=udevconfVariable,udevconfComment
22 syn keyword udevconfVariable contained udev_root udev_db udev_rules udev_log
23 \ nextgroup=udevconfVariableEq
25 syn match udevconfVariableEq contained '[[:space:]=]'
26 \ nextgroup=udevconfString skipwhite
28 syn region udevconfString contained display oneline start=+"+ end=+"+
30 hi def link udevconfTodo Todo
31 hi def link udevconfComment Comment
32 hi def link udevconfVariable Identifier
33 hi def link udevconfVariableEq Operator
34 hi def link udevconfString String
36 let b:current_syntax = "udevconf"