Skip to content

Support formatting async/await code #27

@nsavch

Description

@nsavch

Currently if you try to save async/await code you get a rustfmt error. In order to fix it you need to pass the argument "--edition 2018" to it (cargo fmt does it automatically). Unfortunately rustic dosen't allow to customize rustfmt options, only the binary path. Would be cool if there was a variable for customizing rustfmt options.

Thanks for your work, the mode is quite cool overall.

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