-
Notifications
You must be signed in to change notification settings - Fork 7
/
language-configuration.json
34 lines (34 loc) · 1.09 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
{
"comments": {
"lineComment": "%",
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "/*", "*/" ]
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
//["[", "]"], prevents [] from decrementing line indent
["(", ")"],
["\"", "\""],
["'", "'"],
{ "open": "/*", "close": " */", "notIn": ["string"] }
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
"indentationRules": {
"increaseIndentPattern": "(define|import|finally|for|raise|choice|thread|then|else|in|do|proc|meth|try|class|fun|local)(?!\\S)\\s*(?!(end\\s*)$|[\\S*\\s*]*(?<!\\S)end(?!\\S))",
"decreaseIndentPattern": "(?<!\\S+\\s*)(end|in|\\[\\]|else|in)"
}
}