Fix #34347. decreaseIndent for multiple closing paren or brackets.

This commit is contained in:
Peng Lyu 2017-12-01 10:20:23 -08:00
parent e152f0366d
commit 6fa051df1d

View file

@ -26,6 +26,6 @@
],
"indentationRules": {
"increaseIndentPattern": "^.*(\\bcase\\b.*:|\\bdefault\\b:|(\\b(func|if|else|switch|select|for|struct)\\b.*)?{[^}]*|\\([^)]*)$",
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[),]?|\\)[,]?)$"
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[)}]*[),]?|\\)[,]?)$"
}
}