aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bdl.vim
blob: 438fc868713e5331bab4974579c6c7a73fcdd93e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if exists("b:current_syntax")
  finish
endif

let b:current_syntax = "bdl"

syn keyword bdlKeyword lambda if def set! fun
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