mitranim / sublime-rust-fmt

Sublime Text plugin that formats Rust code with rustfmt
30 stars 3 forks source link

Use project-specific settings? #4

Closed LukasKalbertodt closed 6 years ago

LukasKalbertodt commented 6 years ago

Hi there!

I tried to adjust some settings for one of my projects, but it doesn't seem to work. For example, I used this project config:

{
    "folders":
    [
        {
            "path": "."
        }
    ],
    "settings":
    {
        "format_on_save": false,
    }
}

It has no effect.. I also couldn't find another way of specifying it for this project only...

mitranim commented 6 years ago

Hi there, glad you're finding the plugin useful. Just pushed 0.1.4 that also looks for settings in a "RustFmt" dict in Sublime settings. Let me know if it works for you.

LukasKalbertodt commented 6 years ago

Works for me! Thank you a lot :)