mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
php - fix identation drifting on empty single-long blocks
Fixes https://github.com/microsoft/vscode/issues/34424
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user