-
Notifications
You must be signed in to change notification settings - Fork 3
/
language-configuration.json
50 lines (50 loc) · 1.43 KB
/
language-configuration.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
{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "!"
},
// symbols used as brackets
"brackets": [
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "`"],
["´", "´"],
["“", "”"],
["’", "‘"],
["_(", ")"]
],
"colorizedBracketPairs": [
["(", ")"],
["[", "]"]
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "`"],
["´", "´"],
["“", "”"],
["’", "‘"]
],
"folding": {
"markers": {
"start": "^\\s*<Script_",
"end": "^\\s*</Script_"
}
},
"wordpattern": "[~_a-zA-Z][~_a-zA-Z0-9]*",
"indentationRules": {
"increaseIndentPattern": "(^\\s*(([\"'`´“”’‘]).*?\\3|[0-9]+)\\s*:\\s*(!.*)?$)|(^\\s*(for|FOR|do|DO|repeat|REPEAT|group|GROUP|while\\b.+\\bdo|WHILE\\b.+\\bDO)\\b)|(^[^!]*?\\b(then|THEN|else|ELSE)\\s*(!.*)?$)",
"decreaseIndentPattern": "^\\s*(next|NEXT|end(while|group|if)|END(WHILE|GROUP|IF)|until|UNTIL|else|ELSE|return|RETURN)\\b"
}
}