robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
946c2a8ee8
master
1" Vim syntax file 2" Language: udev(8) configuration file 3" Previous Maintainer: Nikolai Weibull <now@bitwi.se> 4" Latest Revision: 2006-04-19 5 6if exists ( "b:current_syntax" ) 7finish 8endif 9 10let s: cpo_save = & cpo 11set cpo & vim 12 13syn keyword udevconfTodo contained TODO FIXME XXX NOTE 14 15syn region udevconfComment display oneline start = '^\s * # 'end = '$ ' 16 \contains = udevconfTodo , @Spell 17 18syn match udevconfBegin display '^ ' 19 \nextgroup = udevconfVariable , udevconfComment 20 \skipwhite 21 22syn keyword udevconfVariable contained udev_root udev_db udev_rules udev_log 23 \nextgroup = udevconfVariableEq 24 25syn match udevconfVariableEq contained '[ [:space: ] =] ' 26 \nextgroup = udevconfString skipwhite 27 28syn region udevconfString contained display oneline start = +" +end = +" + 29 30hi def link udevconfTodo Todo 31hi def link udevconfComment Comment 32hi def link udevconfVariable Identifier 33hi def link udevconfVariableEq Operator 34hi def link udevconfString String 35 36let b: current_syntax = "udevconf" 37 38let & cpo = s: cpo_save 39unlet s: cpo_save