annotate runtime/syntax/vgrindefs.vim @ 1362:2f70b8f1f1e3 v7.1.076

updated for version 7.1-076
author vimboss
date Tue, 14 Aug 2007 20:54:49 +0000
parents 7033303ea0c0
children 4027cefc2aab
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
4 " Last Change: 2005 Jun 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " The Vgrindefs file is used to specify a language for vgrind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
8 " Quit when a (custom) syntax file was already loaded
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
9 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn match vgrindefsComment "^#.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " The fields that vgrind recognizes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match vgrindefsField ":ab="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match vgrindefsField ":ae="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match vgrindefsField ":pb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match vgrindefsField ":bb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match vgrindefsField ":be="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match vgrindefsField ":cb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match vgrindefsField ":ce="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match vgrindefsField ":sb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match vgrindefsField ":se="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match vgrindefsField ":lb="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match vgrindefsField ":le="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match vgrindefsField ":nc="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match vgrindefsField ":tl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match vgrindefsField ":oc"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match vgrindefsField ":kw="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Also find the ':' at the end of the line, so all ':' are highlighted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match vgrindefsField ":\\$"
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 " Define the default highlighting.
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
39 " Only used when an item doesn't have highlighting yet
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
40 hi def link vgrindefsField Statement
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
41 hi def link vgrindefsComment Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 let b:current_syntax = "vgrindefs"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " vim: ts=8