aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bdl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bdl.vim')
-rw-r--r--misc/bdl.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/bdl.vim b/misc/bdl.vim
new file mode 100644
index 0000000..438fc86
--- /dev/null
+++ b/misc/bdl.vim
@@ -0,0 +1,18 @@
1if exists("b:current_syntax")
2 finish
3endif
4
5let b:current_syntax = "bdl"
6
7syn keyword bdlKeyword lambda if def set! fun
8syn match bdlComment ";.*$"
9
10syn match bdlNumber '\d\+'
11syn match bdlNumber '[-+]\d\+'
12
13syn region bdlString start=/\v"/ skip=/\v\\./ end=/\v"/
14
15hi def link bdlKeyword Keyword
16hi def link bdlComment Comment
17hi def link bdlNumber Number
18hi def link bdlString String