robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Sean Dewarvim-patch:e978b4534a5e (#24697)cbf54ec2a5

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