annotate runtime/syntax/updatedb.vim @ 1698:f4f8014d516e v7.2c.000

updated for version 7.2c-000
author vimboss
date Wed, 06 Aug 2008 17:06:04 +0000
parents 1f3b1021f002
children 7bc41231fbc7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim syntax file
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
2 " Language: updatedb.conf(5) configuration file
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
4 " Latest Revision: 2007-10-25
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13 syn keyword updatedbTodo contained TODO FIXME XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
14
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15 syn region updatedbComment display oneline start='^\s*#' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \ contains=updatedbTodo,@Spell
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 syn match updatedbBegin display '^'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \ nextgroup=updatedbName,updatedbComment skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
21 syn keyword updatedbName contained PRUNEFS PRUNEPATHS PRUNE_BIND_MOUNTS
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22 \ nextgroup=updatedbNameEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
23
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
24 syn match updatedbNameEq contained display '=' nextgroup=updatedbValue
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
26 syn region updatedbValue contained display oneline start='"' end='"'
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 hi def link updatedbTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 hi def link updatedbComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
30 hi def link updatedbName Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 hi def link updatedbNameEq Operator
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32 hi def link updatedbValue String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 let b:current_syntax = "updatedb"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
37 unlet s:cpo_save