Skip to content

[rustywind] Allow specifiying --allow-duplicates option #178

@jaroel

Description

@jaroel

Howdy,

Allowing duplicate classes is on, and hardcoded here

allow_duplicates: true,
.

While this is not really a problem, I wonder if that should be configurable.

I work around this by using rustywind directly as a formatter before handing it over to leptosfmt.
Example zed config:

{
  "languages": {
    "Rust": {
      "formatter": [
        {
          "external": {
            "command": "rustywind",
            "arguments": ["--stdin"]
          }
        },
        {
          "external": {
            "command": "leptosfmt",
            "arguments": ["--rustfmt", "--stdin"]
          }
        }
      ]
    }
  }
}

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