Add vim syntax-highlighting skeleton.
This commit is contained in:
parent
6e27552b84
commit
c13db943b5
1 changed files with 20 additions and 0 deletions
20
doc/brmember.vim
Normal file
20
doc/brmember.vim
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue