xref: /vim-8.2.3635/runtime/syntax/updatedb.vim (revision 89a9c159)
1" Vim syntax file
2" Language:             updatedb.conf(5) configuration file
3" Previous Maintainer:  Nikolai Weibull <[email protected]>
4" Latest Revision:      2009-05-25
5
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
21syn keyword updatedbName    contained
22                            \ PRUNEFS
23                            \ PRUNENAMES
24                            \ PRUNEPATHS
25                            \ PRUNE_BIND_MOUNTS
26                            \ nextgroup=updatedbNameEq
27
28syn match   updatedbNameEq  contained display '=' nextgroup=updatedbValue
29
30syn region  updatedbValue   contained display oneline start='"' end='"'
31
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
42