mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
also recognize // #region ... as valid markers (#278943)
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
This commit is contained in:
@@ -105,8 +105,8 @@
|
||||
},
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "^\\s*(#|\/\/)region\\b",
|
||||
"end": "^\\s*(#|\/\/)endregion\\b"
|
||||
"start": "^\\s*(#|\/\/|\/\/ #)region\\b",
|
||||
"end": "^\\s*(#|\/\/|\/\/ #)endregion\\b"
|
||||
}
|
||||
},
|
||||
"wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\-\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
|
||||
|
||||
Reference in New Issue
Block a user