-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlanguage-configuration.json
29 lines (29 loc) · 1.27 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
{
"comments": {
"lineComment": "--" // comments
},
"brackets": [
["(", ")"], // function calls, conditions, etc.
["[", "]"] // lists
],
"autoClosingPairs": [
["\"", "\""], // string literals
["'", "'"], // string literals (if single quotes are used for this purpose)
["[", "]"], // lists
["(", ")"], // function calls and conditions
{ "open": "<", "close": ">", "notIn": ["string", "comment"] }, // XML or HTML-like syntax, if applicable and ensuring it doesn't auto-close in strings/comments
{ "open": "on", "close": "end", "notIn": ["string", "comment"] }, // handler definitions
{ "open": "if", "close": "end if", "notIn": ["string", "comment"] }, // conditional statements
{ "open": "repeat", "close": "end repeat", "notIn": ["string", "comment"] } // loop statements
],
"surroundingPairs": [
["\"", "\""], // string literals
["'", "'"], // string literals
["[", "]"], // lists
["(", ")"], // function calls and conditions
{ "open": "<", "close": ">", "notIn": ["string", "comment"] },
{ "open": "on", "close": "end", "notIn": ["string", "comment"] },
{ "open": "if", "close": "end if", "notIn": ["string", "comment"] },
{ "open": "repeat", "close": "end repeat", "notIn": ["string", "comment"] }
]
}