annotate runtime/syntax/updatedb.vim @ 20330:a7dbf32b5cc0 v8.2.0720

patch 8.2.0720: occasional exit when encountering an X error Commit: https://github.com/vim/vim/commit/b1062eb23e7a7a8b44f3416e79c3b28aa6c6c229 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 9 16:11:33 2020 +0200 patch 8.2.0720: occasional exit when encountering an X error Problem: Occasional exit when encountering an X error. (Manfred Lotz) Solution: On an X error do not exit, do preserve files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 May 2020 16:15:04 +0200
parents 1218c5353e2b
children
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
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
2 " Language: updatedb.conf(5) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
4 " Latest Revision: 2009-05-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
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
21 syn keyword updatedbName contained
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
22 \ PRUNEFS
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
23 \ PRUNENAMES
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
24 \ PRUNEPATHS
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1698
diff changeset
25 \ PRUNE_BIND_MOUNTS
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26 \ nextgroup=updatedbNameEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 syn match updatedbNameEq contained display '=' nextgroup=updatedbValue
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
30 syn region updatedbValue contained display oneline start='"' end='"'
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32 hi def link updatedbTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33 hi def link updatedbComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 hi def link updatedbName Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35 hi def link updatedbNameEq Operator
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36 hi def link updatedbValue String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
37
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
38 let b:current_syntax = "updatedb"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
39
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
40 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
41 unlet s:cpo_save