diff --git a/extensions/fsharp/language-configuration.json b/extensions/fsharp/language-configuration.json index 9d684e6f9d9..9cdb97d7912 100644 --- a/extensions/fsharp/language-configuration.json +++ b/extensions/fsharp/language-configuration.json @@ -24,8 +24,8 @@ "folding": { "offSide": true, "markers": { - "start": "^\\s*//#region", - "end": "^\\s*//#endregion" + "start": "^\\s*//\\s*#region|^\\s*\\(\\*\\s*#region(.*)\\*\\)", + "end": "^\\s*//\\s*#endregion|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)" } } }