Skip to content

topiary format ts.nu yields incorrect formatting #23

@fdncred

Description

@fdncred

This is from running topiary format ts.nu in the root of the tree-sitter-nu repo.

Image

Note that there is no space between do and { and the same thing between } and $in.

This is from topiary-cli 0.6.1 and the latest in this repo.

There are some other minor items that aren't necessarily "wrong", maybe just how I wouldn't format scripts. I'll leave that for you to decide. Specifically, how it moves # comments around.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions