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.

chore: remove no-longer needed search_on_input=false toggle before tests (#49161)

holoflash3023cf3e28cf
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 81ad9ac3b41..4587f083705 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -2576,8 +2576,7 @@ pub mod tests {
use project::FakeFs;
use serde_json::json;
use settings::{
- InlayHintSettingsContent, SearchSettingsContent, SettingsStore, ThemeColorsContent,
- ThemeStyleContent,
+ InlayHintSettingsContent, SettingsStore, ThemeColorsContent, ThemeStyleContent,
};
use util::{path, paths::PathStyle, rel_path::rel_path};
use util_macros::perf;
@@ -4796,15 +4795,6 @@ pub mod tests {
let settings = SettingsStore::test(cx);
cx.set_global(settings);
- SettingsStore::update_global(cx, |store, cx| {
- store.update_user_settings(cx, |settings| {
- settings.editor.search = Some(SearchSettingsContent {
- search_on_input: Some(false),
- ..Default::default()
- });
- });
- });
-
theme::init(theme::LoadThemes::JustBase, cx);
editor::init(cx);