svelte-mode
svelte-mode copied to clipboard
Doesn't understand JS formatting in on:click handler
If you have some extensive syntax inside a svelte on:click() function, svelte-mode formats it like this:
<span on:click={() =>
upBox("vector", {
a: "0.2",
b: "-0.3",
c: "0",
x: "0",
y: "0",
z: "0",
show: true,
})}>
</span>
It would be nice to indent this object properly.
Thanks for reporting it. I'll check it out later.