-
Notifications
You must be signed in to change notification settings - Fork 0
/
languages.yml
69 lines (65 loc) · 2.27 KB
/
languages.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
rules:
- description: functions
regex: "[^\\w]\\s+[A-Za-z]+\\s?(?=\\()"
color: "f#d7af00" # color 178
exclusive: true
- description: functions
regex: "^[A-Za-z]+\\s?(?=\\()"
color: "f#d7af00" # color 178
exclusive: true
- description: function params
regex: "\\([A-Za-z0-9\\ \\,\\*]*\\)"
color: "f#afffd7" # color 158
exclusive: false
- description: keywords - case sensitive i hope.
regex: "[^\\w\\.\\'](int|long|unsigned|bool|boolean|var|let|String|const|char|import|enum|export)\\W"
color: "f#00ffff" # color 51
exclusive: false
- description: keywords - case sensitive i hope.
regex: "^(int|long|unsigned|bool|boolean|var|let|String|const|char|import|enum|export)\\W"
color: "f#00ffff" # color 51
exclusive: false
- description: keywords2 - case sensitive i hope.
regex: "\\w*(Array|Object|JSON|print|Print|say|call|printf|println|echo|response|request)\\w*\\W"
color: "f#00ffff" # color 51
exclusive: false
- description: pointers
regex: "\\w+ \\*"
color: "f#00ffff" # color 51
exclusive: false
- description: CONST_THINGS - case sensitive.
regex: "(?<=\\s|\\W)[A-Z_]{3,}(?=\\ |=|\\,|\\;|\\)|\\]|\\})"
color: "f#0087d7" # color32
exclusive: false
- description: CONST_THINGS - case sensitive.
regex: "^[A-Z_]{3,}(?=\\ |=|\\,|\\;|\\)|\\]|\\})"
color: "f#0087d7" # color32
exclusive: false
- description: reserved words
regex: "\\W(do|for|if|fi)\\s+"
color: "f#00af87" # color36 0
exclusive: false
- description: reserved words
regex: "^(do|for|if|fi)\\s+"
color: "f#00af87" # color36 0
exclusive: false
- description: reserved words
regex: "(switch|case|esac|done|break|return|while|else|elif|endif|static|public|private|debug|trace|info|then|function|fn|defun|this|class|method|end|exit)\\W+"
color: "f#00af87" # color36 0
exclusive: false
- description: "// comment"
regex: "\\/\\/[A-Za-z0-9\\ \\.\\%\\\\\\:;\\&\\|\\/\\*\"'=+,_-]+"
color: "f#767676" # color 243
exclusive: false
- description: "/* comment */"
regex: "\\/\\*.*\\*\\/"
color: "f#767676" # color 243
exclusive: false
- description: "/* comment"
regex: "\\/\\*[^*]*$"
color: "f#767676" # color 243
exclusive: false
- description: "#comment"
regex: "\\#[A-Za-z0-9\\ \\.#\\%\\\\\\:;\\&\\|\\/\\*\"'-=+,_-]+"
color: "f#767676" # color 243
exclusive: false