From 4f4d2423c2635f928e303666396aeeb17e89d4ba Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Tue, 4 Nov 2025 22:01:24 -0700 Subject: [PATCH] regression? --- crates/vim/src/vim.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs index 3310c1dab1ac3c05bc24aa1b56f94dcfa22511f8..6569a1fb260e534240fc51b1f81e1749cc221c66 100644 --- a/crates/vim/src/vim.rs +++ b/crates/vim/src/vim.rs @@ -44,7 +44,7 @@ pub use settings::{ ModeContent, Settings, SettingsStore, UseSystemClipboard, update_settings_file, }; use state::{Mode, Operator, RecordedSelection, SearchState, VimGlobals}; -use std::{mem, ops::Range, sync::Arc}; +use std::{mem, ops::Range, sync::Arc, thread, time::Duration}; use surrounds::SurroundsType; use theme::ThemeSettings; use ui::{IntoElement, SharedString, px}; @@ -1241,6 +1241,7 @@ impl Vim { } pub fn take_count(cx: &mut App) -> Option { + thread::sleep(Duration::from_millis(10)); let global_state = cx.global_mut::(); if global_state.dot_replaying { return global_state.recorded_count;