Mercurial > vim
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 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
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 | 6 |
7 " The Vgrindefs file is used to specify a language for vgrind | |
8 | |
344 | 9 " Quit when a (custom) syntax file was already loaded |
10 if exists("b:current_syntax") | |
7 | 11 finish |
12 endif | |
13 | |
14 " Comments | |
15 syn match vgrindefsComment "^#.*" | |
16 | |
17 " The fields that vgrind recognizes | |
18 syn match vgrindefsField ":ab=" | |
19 syn match vgrindefsField ":ae=" | |
20 syn match vgrindefsField ":pb=" | |
21 syn match vgrindefsField ":bb=" | |
22 syn match vgrindefsField ":be=" | |
23 syn match vgrindefsField ":cb=" | |
24 syn match vgrindefsField ":ce=" | |
25 syn match vgrindefsField ":sb=" | |
26 syn match vgrindefsField ":se=" | |
27 syn match vgrindefsField ":lb=" | |
28 syn match vgrindefsField ":le=" | |
29 syn match vgrindefsField ":nc=" | |
30 syn match vgrindefsField ":tl" | |
31 syn match vgrindefsField ":oc" | |
32 syn match vgrindefsField ":kw=" | |
33 | |
34 " Also find the ':' at the end of the line, so all ':' are highlighted | |
35 syn match vgrindefsField ":\\$" | |
36 syn match vgrindefsField ":$" | |
37 syn match vgrindefsField "\\$" | |
38 | |
39 " Define the default highlighting. | |
344 | 40 " Only used when an item doesn't have highlighting yet |
41 hi def link vgrindefsField Statement | |
42 hi def link vgrindefsComment Comment | |
7 | 43 |
44 let b:current_syntax = "vgrindefs" | |
45 | |
46 " vim: ts=8 |