Add minimap into the editor controls (#30285)

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

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-05-08 20:58:24 +03:00 committed by GitHub
parent f21780cef3
commit 2b6280ad56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 12 deletions

View file

@ -226,7 +226,7 @@ impl ContextEditor {
let editor = cx.new(|cx| {
let mut editor =
Editor::for_buffer(context.read(cx).buffer().clone(), None, window, cx);
editor.disable_scrollbars_and_minimap(cx);
editor.disable_scrollbars_and_minimap(window, cx);
editor.set_soft_wrap_mode(SoftWrap::EditorWidth, cx);
editor.set_show_line_numbers(false, cx);
editor.set_show_git_diff_gutter(false, cx);