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.

Fix Vim code formating (#9098)

Hans269848775c53
diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs
index bb82bf2e1b8..9d42aef5384 100644
--- a/crates/vim/src/vim.rs
+++ b/crates/vim/src/vim.rs
@@ -457,8 +457,8 @@ impl Vim {
}
fn pop_operator(&mut self, cx: &mut WindowContext) -> Operator {
- let popped_operator = self.update_state( |state| state.operator_stack.pop()
- ) .expect("Operator popped when no operator was on the stack. This likely means there is an invalid keymap config");
+ let popped_operator = self.update_state(|state| state.operator_stack.pop())
+ .expect("Operator popped when no operator was on the stack. This likely means there is an invalid keymap config");
self.sync_vim_settings(cx);
popped_operator
}