Skip to content

Commit efd3ac4

Browse files
authored
Merge pull request microsoft#46885 from brettcannon/patch-1
Allow a space between # and `region` for folding in Python
2 parents 21ef28c + 2f581e8 commit efd3ac4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/python/language-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"folding": {
4444
"offSide": true,
4545
"markers": {
46-
"start": "^\\s*#region\\b",
47-
"end": "^\\s*#endregion\\b"
46+
"start": "^\\s*#\\s*region\\b",
47+
"end": "^\\s*#\\s*endregion\\b"
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)