Remove stray dbg! statements

This commit is contained in:
Antonio Scandurra 2023-04-21 10:49:47 +02:00
parent 1b2e480e1e
commit d32a7218cd
3 changed files with 0 additions and 4 deletions

View file

@ -117,7 +117,6 @@ pub fn init(cx: &mut AppContext) {
} }
pub(crate) fn motion(motion: Motion, cx: &mut WindowContext) { pub(crate) fn motion(motion: Motion, cx: &mut WindowContext) {
dbg!(&motion);
if let Some(Operator::Namespace(_)) if let Some(Operator::Namespace(_))
| Some(Operator::FindForward { .. }) | Some(Operator::FindForward { .. })
| Some(Operator::FindBackward { .. }) = Vim::read(cx).active_operator() | Some(Operator::FindBackward { .. }) = Vim::read(cx).active_operator()

View file

@ -153,7 +153,6 @@ impl<'a> NeovimBackedTestContext<'a> {
} }
} }
dbg!(initial_state);
let _state_context = self.set_shared_state(initial_state).await; let _state_context = self.set_shared_state(initial_state).await;
let _keystroke_context = self.simulate_shared_keystrokes(keystrokes).await; let _keystroke_context = self.simulate_shared_keystrokes(keystrokes).await;
self.assert_state_matches().await; self.assert_state_matches().await;

View file

@ -209,7 +209,6 @@ impl Vim {
} }
fn push_operator(&mut self, operator: Operator, cx: &mut WindowContext) { fn push_operator(&mut self, operator: Operator, cx: &mut WindowContext) {
dbg!("push_operator", &operator);
self.state.operator_stack.push(operator); self.state.operator_stack.push(operator);
self.sync_vim_settings(cx); self.sync_vim_settings(cx);
} }
@ -249,7 +248,6 @@ impl Vim {
} }
fn active_editor_input_ignored(text: Arc<str>, cx: &mut WindowContext) { fn active_editor_input_ignored(text: Arc<str>, cx: &mut WindowContext) {
dbg!(&text);
if text.is_empty() { if text.is_empty() {
return; return;
} }