vim_mode_setting -> editor_mode_setting
This commit is contained in:
parent
ea5425f818
commit
1e4614f9a0
29 changed files with 64 additions and 70 deletions
|
@ -19,6 +19,7 @@ use collections::VecDeque;
|
|||
use debugger_ui::debugger_panel::DebugPanel;
|
||||
use editor::ProposedChangesEditorToolbar;
|
||||
use editor::{Editor, MultiBuffer};
|
||||
use editor_mode_setting::EditorModeSetting;
|
||||
use feature_flags::{FeatureFlagAppExt, PanicFeatureFlag};
|
||||
use futures::future::Either;
|
||||
use futures::{StreamExt, channel::mpsc, select_biased};
|
||||
|
@ -70,7 +71,6 @@ use ui::{PopoverMenuHandle, prelude::*};
|
|||
use util::markdown::MarkdownString;
|
||||
use util::{ResultExt, asset_str};
|
||||
use uuid::Uuid;
|
||||
use vim_mode_setting::EditorModeSetting;
|
||||
use workspace::notifications::{
|
||||
NotificationId, SuppressEvent, dismiss_app_notification, show_app_notification,
|
||||
};
|
||||
|
@ -1282,7 +1282,7 @@ pub fn handle_keymap_file_changes(
|
|||
cx: &mut App,
|
||||
) {
|
||||
BaseKeymap::register(cx);
|
||||
vim_mode_setting::init(cx);
|
||||
editor_mode_setting::init(cx);
|
||||
|
||||
let (base_keymap_tx, mut base_keymap_rx) = mpsc::unbounded();
|
||||
let (keyboard_layout_tx, mut keyboard_layout_rx) = mpsc::unbounded();
|
||||
|
@ -4616,7 +4616,7 @@ mod tests {
|
|||
app_state.languages.add(markdown_language());
|
||||
|
||||
gpui_tokio::init(cx);
|
||||
vim_mode_setting::init(cx);
|
||||
editor_mode_setting::init(cx);
|
||||
theme::init(theme::LoadThemes::JustBase, cx);
|
||||
audio::init(cx);
|
||||
channel::init(&app_state.client, app_state.user_store.clone(), cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue