1" Vim syntax file 2" Language: updatedb.conf(5) configuration file 3" Maintainer: Nikolai Weibull <[email protected]> 4" Latest Revision: 2006-04-19 5 6if exists("b:current_syntax") 7 finish 8endif 9 10let s:cpo_save = &cpo 11set cpo&vim 12 13syn keyword updatedbTodo contained TODO FIXME XXX NOTE 14 15syn region updatedbComment display oneline start='^\s*#' end='$' 16 \ contains=updatedbTodo,@Spell 17 18syn match updatedbBegin display '^' 19 \ nextgroup=updatedbName,updatedbComment skipwhite 20 21syn keyword updatedbName contained PRUNEFS PRUNEPATHS 22 \ nextgroup=updatedbNameEq 23 24syn match updatedbNameEq contained display '=' nextgroup=updatedbValue 25 26syn region updatedbValue contained display oneline start='"' end='"' 27 28hi def link updatedbTodo Todo 29hi def link updatedbComment Comment 30hi def link updatedbName Identifier 31hi def link updatedbNameEq Operator 32hi def link updatedbValue String 33 34let b:current_syntax = "updatedb" 35 36let &cpo = s:cpo_save 37unlet s:cpo_save 38