mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
[rust] provide auto indent pattern. Fixes #51802
This commit is contained in:
1 parent
b853eed359
commit
841d89748a
1 file changed
+4
@@ -21,6 +21,10 @@
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$",
|
||||
"decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]"
|
||||
},
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*//\\s*#?region\\b",
|
||||
|
||||
Reference in new issue
Block a user