Skip to content

Commit b6b011b

Browse files
committed
php - increment indentation for inline php tags
Fixes microsoft#44137
1 parent 988077f commit b6b011b

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
@@ -25,7 +25,7 @@
2525
["`", "`"]
2626
],
2727
"indentationRules": {
28-
"increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*(/[/*].*)?$",
28+
"increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)",
2929
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
3030
},
3131
"folding": {

0 commit comments

Comments
 (0)