From f4e49a5f3a0657f71fe118e249728cddcadc0014 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Wed, 4 Nov 2020 15:40:46 -0800 Subject: [PATCH] php: revert break deindent behavior Fixes https://github.com/microsoft/vscode/issues/104836 --- extensions/php/.vscode/launch.json | 3 +-- extensions/php/language-configuration.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/php/.vscode/launch.json b/extensions/php/.vscode/launch.json index 5e5696dce52..37fca074bad 100644 --- a/extensions/php/.vscode/launch.json +++ b/extensions/php/.vscode/launch.json @@ -11,8 +11,7 @@ ], "stopOnEntry": false, "sourceMaps": true, - "outDir": "${workspaceFolder}/out", "preLaunchTask": "npm" } ] -} \ No newline at end of file +} diff --git a/extensions/php/language-configuration.json b/extensions/php/language-configuration.json index b9b67d2be50..9c24c7b724b 100644 --- a/extensions/php/language-configuration.json +++ b/extensions/php/language-configuration.json @@ -26,7 +26,7 @@ ], "indentationRules": { "increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)", - "decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch)|break);))" + "decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))" }, "folding": { "markers": {