Open henrikvilhelmberglund opened 1 year ago
I don't know regex at all but ended up with this
{
"begin": "^(?=\\s*[{#]\\w*)",
"end": "(?<=})",
"contentName": "source.svelte",
"patterns": [{ "include": "source.svelte" }]
},
seems to work!
It would be nice if Svelte template blocks {#each} and so on could be detected as Svelte instead of Markdown. Example of current behavior: