From d32a7218cd7196b92da2d279bc8224e2c2dfc5c4 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 21 Apr 2023 10:49:47 +0200 Subject: [PATCH] Remove stray `dbg!` statements --- crates/vim/src/motion.rs | 1 - crates/vim/src/test/neovim_backed_test_context.rs | 1 - crates/vim/src/vim.rs | 2 -- 3 files changed, 4 deletions(-) diff --git a/crates/vim/src/motion.rs b/crates/vim/src/motion.rs index cb583c0abe..cc3ec06c47 100644 --- a/crates/vim/src/motion.rs +++ b/crates/vim/src/motion.rs @@ -117,7 +117,6 @@ pub fn init(cx: &mut AppContext) { } pub(crate) fn motion(motion: Motion, cx: &mut WindowContext) { - dbg!(&motion); if let Some(Operator::Namespace(_)) | Some(Operator::FindForward { .. }) | Some(Operator::FindBackward { .. }) = Vim::read(cx).active_operator() diff --git a/crates/vim/src/test/neovim_backed_test_context.rs b/crates/vim/src/test/neovim_backed_test_context.rs index 10234561d6..9b6bf976ca 100644 --- a/crates/vim/src/test/neovim_backed_test_context.rs +++ b/crates/vim/src/test/neovim_backed_test_context.rs @@ -153,7 +153,6 @@ impl<'a> NeovimBackedTestContext<'a> { } } - dbg!(initial_state); let _state_context = self.set_shared_state(initial_state).await; let _keystroke_context = self.simulate_shared_keystrokes(keystrokes).await; self.assert_state_matches().await; diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs index a38c72f169..7ce925944c 100644 --- a/crates/vim/src/vim.rs +++ b/crates/vim/src/vim.rs @@ -209,7 +209,6 @@ impl Vim { } fn push_operator(&mut self, operator: Operator, cx: &mut WindowContext) { - dbg!("push_operator", &operator); self.state.operator_stack.push(operator); self.sync_vim_settings(cx); } @@ -249,7 +248,6 @@ impl Vim { } fn active_editor_input_ignored(text: Arc, cx: &mut WindowContext) { - dbg!(&text); if text.is_empty() { return; }