Multicursor vim registers (#13025)
Release Notes: - vim: Added support for multicursor registers (#11687) - vim: Added support for the `"/` register
This commit is contained in:
parent
068b1c235c
commit
a5af5b2883
17 changed files with 333 additions and 250 deletions
|
@ -254,7 +254,7 @@ impl NeovimBackedTestContext {
|
|||
#[must_use]
|
||||
pub async fn shared_register(&mut self, register: char) -> SharedClipboard {
|
||||
SharedClipboard {
|
||||
register: register,
|
||||
register,
|
||||
state: self.shared_state().await,
|
||||
neovim: self.neovim.read_register(register).await,
|
||||
editor: self.update(|cx| {
|
||||
|
@ -264,6 +264,8 @@ impl NeovimBackedTestContext {
|
|||
.get(®ister)
|
||||
.cloned()
|
||||
.unwrap_or_default()
|
||||
.text
|
||||
.into()
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue