-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlanguage-configuration.json
40 lines (40 loc) · 1.17 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
{
"comments": {
// there is only a block comment
"blockComment": [ "(*", "*)" ]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["(*", "*)"],
],
// same as autoClosingPairs, but without the comment bracket
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""]
],
// identifier setting and - (to account for inj-event and similar)
"wordPattern": "([a-zA-Z0-9'_\\-]+)",
"indentationRules": {
// indent on brackets {([ equal / diff = <> and implication/equivalence ==> <-> <=>
"increaseIndentPattern": "^.*({|\\(|\\[|=|<>|==>|<->|<=>)$",
// decrease indent when lib ends; disabled as sometimes surprising
// "decreaseIndentPattern": "^.*\\.$"
},
"onEnterRules": [
{
// indent after first semicolon for lib rules
"beforeText": "^\\s*(nounif|noselect|select|query|noninterf|not|elimtrue|lemma|axiom|restriction).*?;$",
"action": { "indent": "indent" }
}
]
}