mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
php - fix identation drifting on empty single-long blocks
Fixes https://github.com/microsoft/vscode/issues/34424
This commit is contained in:
parent
72f3185301
commit
867bcaee0d
|
@ -25,7 +25,7 @@
|
|||
["`", "`"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "({(?!.+}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*(/[/*].*)?$",
|
||||
"increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*(/[/*].*)?$",
|
||||
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
|
||||
},
|
||||
"folding": {
|
||||
|
|
Loading…
Reference in a new issue