Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix documentation for default value of `format_on_save` (#65167)

Vania Livadnyi3f81fdc4da2d
diff --git a/crates/settings_content/src/language.rs b/crates/settings_content/src/language.rs
index 61975fe1bf4..cc0258a269e 100644
--- a/crates/settings_content/src/language.rs
+++ b/crates/settings_content/src/language.rs
@@ -601,7 +601,7 @@ pub struct LanguageSettingsContent {
pub indent_guides: Option<IndentGuideSettingsContent>,
/// Whether or not to perform a buffer format before saving.
///
- /// Default: on
+ /// Default: off
pub format_on_save: Option<FormatOnSave>,
/// Whether or not to remove any trailing whitespace from lines of a buffer
/// before saving it.