annotate runtime/syntax/vgrindefs.vim @ 33080:51b4577d57bf

Added tag v9.0.1826 for changeset 5f201b734cb7b114a411a339a895d25ebecf7262
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Aug 2023 19:45:05 +0200
parents 4027cefc2aab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Vgrindefs
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 344
diff changeset
3 " Maintainer: The Vim Project <https://github.com/vim/vim>
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 344
diff changeset
4 " Last Change: 2023 Aug 10
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 344
diff changeset
5 " Former Maintainer: Bram Moolenaar <Bram@vim.org>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " The Vgrindefs file is used to specify a language for vgrind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
9 " Quit when a (custom) syntax file was already loaded
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
10 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match vgrindefsComment "^#.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " The fields that vgrind recognizes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match vgrindefsField ":ab="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match vgrindefsField ":ae="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match vgrindefsField ":pb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match vgrindefsField ":bb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match vgrindefsField ":be="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match vgrindefsField ":cb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match vgrindefsField ":ce="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match vgrindefsField ":sb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match vgrindefsField ":se="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match vgrindefsField ":lb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match vgrindefsField ":le="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match vgrindefsField ":nc="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match vgrindefsField ":tl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match vgrindefsField ":oc"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match vgrindefsField ":kw="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " Also find the ':' at the end of the line, so all ':' are highlighted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match vgrindefsField ":\\$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match vgrindefsField ":$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match vgrindefsField "\\$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " Define the default highlighting.
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
40 " Only used when an item doesn't have highlighting yet
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
41 hi def link vgrindefsField Statement
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
42 hi def link vgrindefsComment Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 let b:current_syntax = "vgrindefs"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " vim: ts=8