Skip to content

Commit

Permalink
Fixed Regex for regions (#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
veatla committed Aug 27, 2023
1 parent f35d311 commit 461e25b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/svelte-vscode/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
],
"folding": {
"markers": {
"start": "^\\s*//\\s*#?region\\b|^<(template|style|script)[^>]*>|^\\s*<!--\\s*#region\\b",
"end": "^\\s*//\\s*#?endregion\\b|^</(template|style|script)>|^\\s*<!--\\s*#endregion\\b"
"start": "^\\s*(//|/\\*\\*?)\\s*#?region\\b|^<(template|style|script)[^>]*>|^\\s*<!--\\s*#region\\b",
"end": "^\\s*(//|/\\*\\*?)\\s*#?endregion\\b|^</(template|style|script)>|^\\s*<!--\\s*#endregion\\b"
}
}
}

0 comments on commit 461e25b

Please sign in to comment.