Use more conservative settings for the minimap display (#32878)

Follow-up of https://github.com/zed-industries/zed/pull/31390

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-06-17 19:21:45 +03:00 committed by GitHub
parent d5472bc0ad
commit c7dad1cb19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -403,10 +403,10 @@
// Where to show the minimap in the editor.
// This setting can take two values:
// 1. Show the minimap on the focused editor only:
// "active_editor"
// "active_editor" (default)
// 2. Show the minimap on all open editors:
// "all_editors" (default)
"display_in": "all_editors",
// "all_editors"
"display_in": "active_editor",
// When to show the minimap thumb.
// This setting can take two values:
// 1. Show the minimap thumb if the mouse is over the minimap:

View file

@ -218,9 +218,9 @@ pub enum ShowMinimap {
#[serde(rename_all = "snake_case")]
pub enum DisplayIn {
/// Show on all open editors.
#[default]
AllEditors,
/// Show the minimap on the active editor only.
#[default]
ActiveEditor,
}
@ -615,7 +615,7 @@ pub struct MinimapContent {
/// Where to show the minimap in the editor.
///
/// Default: all_editors
/// Default: [`DisplayIn::ActiveEditor`]
pub display_in: Option<DisplayIn>,
/// When to show the minimap thumb.