Add vim syntax-highlighting skeleton.

This commit is contained in:
Dominik Pantůček 2023-05-19 18:25:57 +02:00
parent 6e27552b84
commit c13db943b5

20
doc/brmember.vim Normal file
View file

@ -0,0 +1,20 @@
if exists("b:current_syntax")
finish
endif
syn keyword brmKeyMandatory nick name mail phone
syn keyword brmKeyOptional born
syn keyword brmKeyMulti card desfire
syn keyword brmKeyExistence joined destroyed
syn keyword brmKeyMarkers studentstart studentstop suspendstart suspendstop
syn region brmComment start="#" end="\n"
hi def link brmKeyMandatory Identifier
hi def link brmComment Comment
hi def link brmKeyExistence Constant
hi def link brmKeyOptional Conditional
hi def link brmKeyMulti Type
hi def link brmKeyMarkers Special
let b:current_syntax = "brmember"