diff --git a/extensions/cpp/language-configuration.json b/extensions/cpp/language-configuration.json index a8782a61e3c..2888f3edea9 100644 --- a/extensions/cpp/language-configuration.json +++ b/extensions/cpp/language-configuration.json @@ -25,5 +25,11 @@ "indentationRules": { "increaseIndentPattern": "^.*\\{[^}\"\\']*$|^.*\\([^\\)\"\\']*$|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$|^\\s*\\{\\}$", "decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*\\}|^\\s*(\\s*/[*].*[*]/\\s*)*\\)|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$" + }, + "folding": { + "markers": { + "start": "^\\s*#pragma\\s+region", + "end": "^\\s*#pragma\\s+endregion" + } } } \ No newline at end of file diff --git a/extensions/cpp/package.json b/extensions/cpp/package.json index 5e24898671f..ce8f3d711a6 100644 --- a/extensions/cpp/package.json +++ b/extensions/cpp/package.json @@ -33,11 +33,5 @@ "scopeName": "source.c.platform", "path": "./syntaxes/Platform.tmLanguage" }] - }, - "folding": { - "markers": { - "start": "^\\s*#pragma\\s+region", - "end": "^\\s*#pragma\\s+endregion" - } } } \ No newline at end of file