Skip to content

rust-rustfmt-switches from .dir-local.el #574

Description

@andrewzhurov

In rust-mode 1.0.6 setting rust-rustfmt-switches in .dir-locals.el has no effect.
E.g., ("--edition" "2024) gets disregarded. (value that's been set globally gets read on save, in my case it was ("--edition" "2018").

It seems possible to configure rust-fmt per-project by setting nil, in which case it reads config from rustfmt.toml, and that's the default now.
Still, may be nice to allow per-project configuration via .dir-locals.el?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions