mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 10:40:54 +00:00
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 <elliott.codes@gmail.com>
This commit is contained in:
parent
bc39ca06a7
commit
7c8f62e943
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"hard_tabs": false,
|
||||
"formatter": "auto",
|
||||
"remove_trailing_whitespace_on_save": true,
|
||||
"ensure_final_newline_on_save": true
|
||||
|
|
Loading…
Reference in a new issue