-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjump.vim
More file actions
32 lines (22 loc) · 698 Bytes
/
jump.vim
File metadata and controls
32 lines (22 loc) · 698 Bytes
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
30
31
32
" Vim syntax file
" Language: Jump
" Maintainer: X
" Latest Revision: 2015-09-18
if exists("b:current_syntax")
finish
endif
syn keyword jumpKeyword let in end where fun
syn match jumpKeywordOp "\%(>>\|=\|->\||\)"
syn match jumpDelim display "\%(,\)"
syn match jumpOp "\%(+\|-\|<\|>\|<=\|>=\|==\)"
syn keyword jumpBool true false
syn match jumpInt '\d\+'
syn match jumpIdent "[a-z][a-z_0-9]*"
syn match jumpLabel "[A-Z][a-z_0-9]*"
hi def link jumpKeyword Keyword
hi def link jumpKeywordOp Operator
hi def link jumpDelim Operator
hi def link jumpOp Operator
hi def link jumpBool Boolean
hi def link jumpInt Number
hi def link jumpLabel Special