comparison runtime/syntax/updatedb.vim @ 375:f14cbd913415 v7.0097

updated for version 7.0097
author vimboss
date Wed, 29 Jun 2005 22:40:58 +0000
parents
children 4fe8e1a7758e
comparison
equal deleted inserted replaced
374:575dacb554d8 375:f14cbd913415
1 " Vim syntax file
2 " Language: updatedb.conf(5) configuration file
3 " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
4 " Latest Revision: 2005-06-29
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 PRUNEFS PRUNEPATHS
22 \ nextgroup=updatedbNameEq
23
24 syn match updatedbNameEq contained display '=' nextgroup=updatedbValue
25
26 syn region updatedbValue contained display oneline
27 \ matchgroup=updatedbValue start='"'
28 \ matchgroup=updatedbValue end='"'
29
30 hi def link updatedbTodo Todo
31 hi def link updatedbComment Comment
32 hi def link updatedbName Identifier
33 hi def link updatedbNameEq Operator
34 hi def link updatedbValue String
35
36 let b:current_syntax = "updatedb"
37
38 let &cpo = s:cpo_save
39 unlet s:cpo_save