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.

Remove stray `dbg!` statements

Antonio Scandurrad32a7218cd71
diff --git a/crates/vim/src/motion.rs b/crates/vim/src/motion.rs
index cb583c0abe8..cc3ec06c477 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 10234561d6e..9b6bf976ca0 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 a38c72f1696..7ce925944ce 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<str>, cx: &mut WindowContext) {
- dbg!(&text);
if text.is_empty() {
return;
}