Skip to content

Commit d95f9a4

Browse files
authored
expand editor code region styles
Expand editor code region styles. Allow a space after the leading comment indicator. Allow both single line and block comments. Examples: // #region name (* region name *)
1 parent d06bf76 commit d95f9a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/fsharp/language-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"folding": {
2525
"offSide": true,
2626
"markers": {
27-
"start": "^\\s*//#region",
28-
"end": "^\\s*//#endregion"
27+
"start": "^\\s*//\\s*#region|^\\s*\\(\\*\\s*#region(.*)\\*\\)",
28+
"end": "^\\s*//\\s*#endregion|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)"
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)