Multicursor vim registers (#13025)

Release Notes:

- vim: Added support for multicursor registers (#11687)
- vim: Added support for the `"/` register
This commit is contained in:
Conrad Irwin 2024-06-13 20:32:58 -06:00 committed by GitHub
parent 068b1c235c
commit a5af5b2883
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 333 additions and 250 deletions

View file

@ -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(&register)
.cloned()
.unwrap_or_default()
.text
.into()
}),
}
}