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 editor settings deserialization in editor2

Max Brunsfeld6f23894b40b5
diff --git a/crates/editor2/src/editor_settings.rs b/crates/editor2/src/editor_settings.rs
index c23bf76aea8..fd7e2feea31 100644
--- a/crates/editor2/src/editor_settings.rs
+++ b/crates/editor2/src/editor_settings.rs
@@ -47,7 +47,7 @@ pub struct EditorSettingsContent {
pub use_on_type_format: Option<bool>,
pub scrollbar: Option<ScrollbarContent>,
pub relative_line_numbers: Option<bool>,
- pub seed_search_query_from_selection: Option<SeedQuerySetting>,
+ pub seed_search_query_from_cursor: Option<SeedQuerySetting>,
}
#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq, Eq)]