Skip to content

Doesn't understand JS formatting in on:click handler #11

@nikolas

Description

@nikolas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions