-
-
Notifications
You must be signed in to change notification settings - Fork 370
/
settings.json
52 lines (51 loc) · 1.27 KB
/
settings.json
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
{
"workbench.colorTheme": "Default High Contrast Light",
"editor.fontFamily": "'Wide Latin', 'Comic Sans MS', 'DejaVu Sans Serif', cursive, sans-serif",
"highlight.regexFlags": "gi",
"highlight.regexes": {
"(?= *[functio])( )*(f?u?n?c?t?i?o?n?)+( *)([^()\n ]+)( *\\()(.*?)(\\) +=>)": {
"decorations": [
{}, //indentation
{
"color": "#ffff46" //function keyword
},
{},
{
"color": "#46ccff" //function name
},
{},
{
"color": "#8043f7" //function params
},
{}
]
},
"const (const|var) +(var|(?!\\1)const)": {
"decorations": [
{
"backgroundColor": "#ff4346", // this is to highlight an invalid usage of const const const
"color": "#1f1f1f"
},
{}
]
},
"(const|var)( +)(const|var)( +)([^ +\\-\\*\\/<>=\\(\\)\\[\\]!;:\\.{}\n]+)(([^ ]+?))?( *)([+\\-\\/*]?)(= *)([^!\n?]+)": {
"decorations": [
{
"color": "#46ff80" // first const
},
{},
{
"color": "#4680ff" // second const
},
{},
{
"color": "#ff8046" // variable name
},
{
"color": "#ff80de" //lifetime
}
]
}
}
}