Skip to content

Commit c22fad1

Browse files
committed
Fix php autoindent with ])
Fix microsoft#122899
1 parent 5a41e93 commit c22fad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/php/language-configuration.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"indentationRules": {
2828
"increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)",
29-
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
29+
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\]\\)*[;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
3030
},
3131
"folding": {
3232
"markers": {

0 commit comments

Comments
 (0)