Merge branch 'main' into vim-visual-selection
This commit is contained in:
commit
fb90eada70
199 changed files with 6473 additions and 3725 deletions
|
@ -20,7 +20,7 @@ impl ModeIndicator {
|
|||
if let Some(mode_indicator) = handle.upgrade(cx) {
|
||||
match event {
|
||||
VimEvent::ModeChanged { mode } => {
|
||||
cx.update_window(mode_indicator.window_id(), |cx| {
|
||||
mode_indicator.window().update(cx, |cx| {
|
||||
mode_indicator.update(cx, move |mode_indicator, cx| {
|
||||
mode_indicator.set_mode(mode, cx);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue