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