From b6b011b2946a90586a31bc3c097571f9a21632ad Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Fri, 11 Oct 2019 11:56:21 -0700 Subject: [PATCH] php - increment indentation for inline php tags Fixes https://github.com/microsoft/vscode/issues/44137 --- extensions/php/language-configuration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/php/language-configuration.json b/extensions/php/language-configuration.json index 46101c5aa2f..9c24c7b724b 100644 --- a/extensions/php/language-configuration.json +++ b/extensions/php/language-configuration.json @@ -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": {