-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwic.vim
More file actions
46 lines (38 loc) · 1.17 KB
/
wic.vim
File metadata and controls
46 lines (38 loc) · 1.17 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
if exists("b:current_syntax")
finish
endif
" Comments
syntax match wicComment "\vUMM.*$"
" Operators
syntax match wicOperator '='
syntax match wicOperator '<='
syntax match wicOperator '>='
syntax match wicOperator '>'
syntax match wicOperator '<'
syntax match wicOperator '=='
syntax match wicOperator '-'
syntax match wicOperator '+'
syntax match wicOperator '*'
syntax match wicOperator '/'
syntax match wicOperator '!'
syntax match wicOperator '!='
syntax match wicOperator '||'
syntax match wicOperator '&&'
" Identifiers
syntax match wicIdentifier '\v[a-zA-Z][a-zA-Z0-9]*'
" Literals
syntax match wicLiteral '\v\d+'
syntax region wicLiteral start=/\v"/ skip=/\v\\./ end=/\v"/
" Keywords
syntax keyword wicKeyword DO I NEED FINDS A FROM CALLED AND ASK ABOUT SHOULD BE
syntax keyword wicKeyword THINK SHOW ME WATER LOOP RUN FROM GEESE CALCULATED
syntax keyword wicKeyword PLEASE WORK LIED
syntax match wicKeyword '\vRIGHT\?'
" Types
syntax keyword wicType int char string bool
highlight link wicComment Comment
highlight link wicKeyword Keyword
highlight link wicOperator Operator
highlight link wicLiteral Constant
highlight link wicType Type
highlight link wicIdentifier Identifier