Use fewer fancy cursors even for vim users (#11041)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2024-04-26 09:42:21 +02:00
committed by GitHub
parent 7f229dc202
commit eb7bd0b98a
+3 -1
View File
@@ -55,7 +55,9 @@ fn blurred(editor: View<Editor>, cx: &mut WindowContext) {
}
}
editor.update(cx, |editor, cx| {
editor.set_cursor_shape(language::CursorShape::Hollow, cx);
if editor.use_modal_editing() {
editor.set_cursor_shape(language::CursorShape::Hollow, cx);
}
});
});
}