From 7c8f62e943b4209a435dc3b870ee51b517317c7e Mon Sep 17 00:00:00 2001 From: Mathias Date: Wed, 4 Sep 2024 18:30:28 +0200 Subject: [PATCH] Add `hard_tabs: false` in project settings (#17357) # Problem I have a custom system-wide rustfmt configuration, and use tabs over spaces. So when I contribute to Zed, I will get lots of formatting errors. # Proposition - ~~Add rustfmt.toml (to specify that you are using the default rustfmt configuration, see https://github.com/rust-lang/cargo/issues/14442)~~ - Add `hard_tabs: false` to `.zed/settings.json` for people using tabs over spaces. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers --- .zed/settings.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.zed/settings.json b/.zed/settings.json index afb42d1a40..176fd33a9b 100644 --- a/.zed/settings.json +++ b/.zed/settings.json @@ -38,6 +38,7 @@ } } }, + "hard_tabs": false, "formatter": "auto", "remove_trailing_whitespace_on_save": true, "ensure_final_newline_on_save": true