Fix Vim code formating (#9098)

- N/A
This commit is contained in:
Hans 2024-03-11 16:03:51 +08:00 committed by GitHub
parent 39bd12a557
commit 269848775c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -457,8 +457,8 @@ impl Vim {
} }
fn pop_operator(&mut self, cx: &mut WindowContext) -> Operator { fn pop_operator(&mut self, cx: &mut WindowContext) -> Operator {
let popped_operator = self.update_state( |state| state.operator_stack.pop() 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"); .expect("Operator popped when no operator was on the stack. This likely means there is an invalid keymap config");
self.sync_vim_settings(cx); self.sync_vim_settings(cx);
popped_operator popped_operator
} }