Skip to content

Commit

Permalink
(feat) region folding, script/style/template folding
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Sep 6, 2020
1 parent 64ff96a commit ec47e72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/svelte-vscode/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "<", "close": ">" }
]
],
"folding": {
"markers": {
"start": "^\\s*//\\s*#?region\\b|^<(template|style|script)[^>]*>",
"end": "^\\s*//\\s*#?endregion\\b|^</(template|style|script)>"
}
}
}

0 comments on commit ec47e72

Please sign in to comment.