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.

Add a mode indicator for vim (#2763)

Conrad Irwin39f02c2b7244
diff --cc crates/vim/src/vim.rs
index e31fa4adddb,340da4f896e..d8edf1a667f
--- a/crates/vim/src/vim.rs
+++ b/crates/vim/src/vim.rs
@@@ -14,10 -15,11 +15,11 @@@ use anyhow::Result
use collections::CommandPaletteFilter;
use editor::{Bias, Editor, EditorMode, Event};
use gpui::{
- actions, impl_actions, keymap_matcher::KeymapContext, AppContext, Subscription, ViewContext,
- ViewHandle, WeakViewHandle, WindowContext,
+ actions, impl_actions, keymap_matcher::KeymapContext, keymap_matcher::MatchResult, AppContext,
+ Subscription, ViewContext, ViewHandle, WeakViewHandle, WindowContext,
};
use language::CursorShape;
+ pub use mode_indicator::ModeIndicator;
use motion::Motion;
use normal::normal_replace;
use serde::Deserialize;