-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscl.vim
29 lines (22 loc) · 803 Bytes
/
scl.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
if exists("b:current_syntax")
finish
endif
syn region scoundrelComment start="\v\(\*" end="\v\*\)"
syn keyword scoundrelKeyword and else elsif end false fn
syn keyword scoundrelKeyword if in let mod or then true
syn match scoundrelKeyword "\v\$"
syn match scoundrelNumber "\v\d"
syn match scoundrelOperator "\v\*"
syn match scoundrelOperator "\v/"
syn match scoundrelOperator "\v\+"
syn match scoundrelOperator "\v-"
syn match scoundrelOperator "\v\:\="
syn match scoundrelOperator "\v\=\="
syn match scoundrelOperator "\v<>"
syn match scoundrelString "\v'.*'"
highlight link scoundrelComment Comment
highlight link scoundrelKeyword Keyword
highlight link scoundrelNumber Number
highlight link scoundrelOperator Operator
highlight link scoundrelString String
let b:current_syntax = "scoundrel"