Avoid indent after strings with brackets Fixes #50959 (#50960)

This commit is contained in:
Ramya Rao
2018-06-04 13:27:18 -07:00
committed by GitHub
parent 5065397f9b
commit c82fd3819d

View File

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