Merge branch 'main' into vim-visual-selection
This commit is contained in:
commit
fb90eada70
199 changed files with 6473 additions and 3725 deletions
|
@ -85,9 +85,9 @@ impl<'a> VimTestContext<'a> {
|
|||
}
|
||||
|
||||
pub fn set_state(&mut self, text: &str, mode: Mode) -> ContextHandle {
|
||||
let window_id = self.window_id;
|
||||
let window = self.window;
|
||||
let context_handle = self.cx.set_state(text);
|
||||
self.update_window(window_id, |cx| {
|
||||
window.update(self.cx.cx.cx, |cx| {
|
||||
Vim::update(cx, |vim, cx| {
|
||||
vim.switch_mode(mode, true, cx);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue