Add support for :winpos
[MacVim.git] / runtime / syntax / updatedb.vim
blob7c082d62df0900c9a6abdadc84bea03587a2afcd
1 " Vim syntax file
2 " Language:         updatedb.conf(5) configuration file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2009-05-25
6 if exists("b:current_syntax")
7   finish
8 endif
10 let s:cpo_save = &cpo
11 set cpo&vim
13 syn keyword updatedbTodo    contained TODO FIXME XXX NOTE
15 syn region  updatedbComment display oneline start='^\s*#' end='$'
16                             \ contains=updatedbTodo,@Spell
18 syn match   updatedbBegin   display '^'
19                             \ nextgroup=updatedbName,updatedbComment skipwhite
21 syn keyword updatedbName    contained
22                             \ PRUNEFS
23                             \ PRUNENAMES
24                             \ PRUNEPATHS
25                             \ PRUNE_BIND_MOUNTS
26                             \ nextgroup=updatedbNameEq
28 syn match   updatedbNameEq  contained display '=' nextgroup=updatedbValue
30 syn region  updatedbValue   contained display oneline start='"' end='"'
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
38 let b:current_syntax = "updatedb"
40 let &cpo = s:cpo_save
41 unlet s:cpo_save