blob: 7c082d62df0900c9a6abdadc84bea03587a2afcd [file] [log] [blame]
Bram Moolenaar42eeac32005-06-29 22:40:58 +00001" Vim syntax file
2" Language: updatedb.conf(5) configuration file
Bram Moolenaar57657d82006-04-21 22:12:41 +00003" Maintainer: Nikolai Weibull <now@bitwi.se>
Bram Moolenaar5c736222010-01-06 20:54:52 +01004" Latest Revision: 2009-05-25
Bram Moolenaar42eeac32005-06-29 22:40:58 +00005
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
Bram Moolenaar5c736222010-01-06 20:54:52 +010021syn keyword updatedbName contained
22 \ PRUNEFS
23 \ PRUNENAMES
24 \ PRUNEPATHS
25 \ PRUNE_BIND_MOUNTS
Bram Moolenaar42eeac32005-06-29 22:40:58 +000026 \ nextgroup=updatedbNameEq
27
28syn match updatedbNameEq contained display '=' nextgroup=updatedbValue
29
Bram Moolenaar0dc065e2005-07-04 22:49:24 +000030syn region updatedbValue contained display oneline start='"' end='"'
Bram Moolenaar42eeac32005-06-29 22:40:58 +000031
32hi def link updatedbTodo Todo
33hi def link updatedbComment Comment
34hi def link updatedbName Identifier
35hi def link updatedbNameEq Operator
36hi def link updatedbValue String
37
38let b:current_syntax = "updatedb"
39
40let &cpo = s:cpo_save
41unlet s:cpo_save