Merge pull request #1311 from zed-industries/fix-visual-paste
Fix visual paste
This commit is contained in:
commit
667d031ec8
5 changed files with 231 additions and 38 deletions
|
@ -125,6 +125,11 @@ impl<'a> VimTestContext<'a> {
|
|||
self.cx.set_state(text);
|
||||
}
|
||||
|
||||
pub fn assert_state(&mut self, text: &str, mode: Mode) {
|
||||
self.assert_editor_state(text);
|
||||
assert_eq!(self.mode(), mode);
|
||||
}
|
||||
|
||||
pub fn assert_binding<const COUNT: usize>(
|
||||
&mut self,
|
||||
keystrokes: [&str; COUNT],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue