mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
[rust] provide auto indent pattern. Fixes #51802
This commit is contained in:
parent
b853eed359
commit
841d89748a
|
@ -21,6 +21,10 @@
|
|||
["\"", "\""],
|
||||
["'", "'"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
||||
"decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]"
|
||||
},
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*//\\s*#?region\\b",
|
||||
|
|
Loading…
Reference in a new issue