Skip to content

Commit b43bc68

Browse files
authored
(feat) support code folding in html
#1411 through `<!-- #(end)region` comment
1 parent 25b367f commit b43bc68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte-vscode/language-configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
],
3131
"folding": {
3232
"markers": {
33-
"start": "^\\s*//\\s*#?region\\b|^<(template|style|script)[^>]*>",
34-
"end": "^\\s*//\\s*#?endregion\\b|^</(template|style|script)>"
33+
"start": "^\\s*//\\s*#?region\\b|^<(template|style|script)[^>]*>|^\\s*<!--\\s*#region\\b",
34+
"end": "^\\s*//\\s*#?endregion\\b|^</(template|style|script)>|^\\s*<!--\\s*#endregion\\b"
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)