blob: 9013b48ff2733216be0dc2e33d10601e158b373d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
if exists("b:current_syntax")
finish
endif
let b:current_syntax = "bdl"
syn keyword bdlKeyword lambda if def fun
syn match bdlKeyword "set!"
syn match bdlComment ";.*$"
syn match bdlNumber '\d\+'
syn match bdlNumber '[-+]\d\+'
syn region bdlString start=/\v"/ skip=/\v\\./ end=/\v"/
hi def link bdlKeyword Keyword
hi def link bdlComment Comment
hi def link bdlNumber Number
hi def link bdlString String
|