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.

Merge branch 'main' into search-query-suggestion-fixes

Max Brunsfeldb6eef26f915a
diff --cc crates/editor/src/editor_settings.rs
index 877cac79224,75f8b800f93..b885e065a1a
--- a/crates/editor/src/editor_settings.rs
+++ b/crates/editor/src/editor_settings.rs
@@@ -47,7 -38,6 +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)]
diff --cc crates/theme2/src/colors.rs
index f3f03a8cd50,086b1ed7674..b8cceebea82
--- a/crates/theme2/src/colors.rs
+++ b/crates/theme2/src/colors.rs
@@@ -1,9 -1,9 +1,7 @@@
--use std::sync::Arc;
--
++use crate::{PlayerColors, SyntaxTheme};
use gpui::Hsla;
use refineable::Refineable;
--
--use crate::{PlayerColors, SyntaxTheme};
++use std::sync::Arc;
#[derive(Clone)]
pub struct SystemColors {
@@@ -14,7 -14,7 +12,7 @@@
}
#[derive(Refineable, Clone, Debug)]
- #[refineable(Debug)]
-#[refineable(debug, deserialize)]
++#[refineable(Debug, serde::Deserialize)]
pub struct StatusColors {
pub conflict: Hsla,
pub created: Hsla,
diff --cc crates/theme2/src/user_theme.rs
index 642eab5e283,b1f689416d8..e42b7b29053
--- a/crates/theme2/src/user_theme.rs
+++ b/crates/theme2/src/user_theme.rs
@@@ -1,4 -1,4 +1,5 @@@
- use crate::{Appearance, ThemeColors, ThemeColorsRefinement};
++use crate::{Appearance, StatusColors, StatusColorsRefinement, ThemeColors, ThemeColorsRefinement};
+ use gpui::{FontStyle, FontWeight, Hsla};
use refineable::Refineable;
use serde::Deserialize;