54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"comments": {
|
|
"blockComment": ["<!--", "-->"]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["<", ">"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{
|
|
"open": "{",
|
|
"close": "}"
|
|
},
|
|
{
|
|
"open": "[",
|
|
"close": "]"
|
|
},
|
|
{
|
|
"open": "(",
|
|
"close": ")"
|
|
},
|
|
{
|
|
"open": "\"",
|
|
"close": "\"",
|
|
"notIn": ["string"]
|
|
},
|
|
{
|
|
"open": "'",
|
|
"close": "'",
|
|
"notIn": ["string"]
|
|
}
|
|
],
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["\"", "\""],
|
|
["'", "'"]
|
|
],
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "^.*(?:\\{|<(?!(?:area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)\\b)[A-Za-z][\\w:-]*(?:\\s[^>]*)?>)\\s*$",
|
|
"decreaseIndentPattern": "^\\s*(?:\\}|<\\/[A-Za-z][\\w:-]*>)"
|
|
},
|
|
"folding": {
|
|
"offSide": false,
|
|
"markers": {
|
|
"start": "^\\s*(?:page|component|api|middleware|realtime|view|seo|props|functions)\\b.*\\{\\s*$",
|
|
"end": "^\\s*\\}\\s*$"
|
|
}
|
|
}
|
|
}
|