-
Notifications
You must be signed in to change notification settings - Fork 537
/
syntax.json
41 lines (41 loc) · 846 Bytes
/
syntax.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
{
"comments": {
"lineComment": "%"
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"],
["\\left(", "\\right)"],
["\\left[", "\\right]"],
["\\left\\{", "\\right\\}"],
["\\left<", "\\right>"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["`", "'"]
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"],
["`", "'"],
["$", "$"]
],
"indentationRules": {
"increaseIndentPattern": "\\\\begin{(?!document)([^}]*)}(?!.*\\\\end{\\1})",
"decreaseIndentPattern": "^\\s*\\\\end{(?!document)"
},
"folding": {
"markers": {
"start": "^\\s*%\\s*#?region\\b.*",
"end": "^\\s*%\\s*#?endregion\\b.*"
}
},
"autoCloseBefore": ";:.,=}])>\\` \n\t$",
"wordPattern": "(__)|(\\*\\*)|(@.)|(\\.\\.\\.)|([^\\s`'\"~_!?|$#@%^&*\\-=+;:,.<>(){}[\\]\\\\\\/]{2,})"
}