Avoid switching to visual mode when following in vim mode
Co-authored-by: Keith Simmons <keith@zed.dev>
This commit is contained in:
parent
c53412efcb
commit
42cd2ae142
2 changed files with 10 additions and 4 deletions
|
@ -1025,6 +1025,10 @@ impl Editor {
|
|||
self.buffer.read(cx).replica_id()
|
||||
}
|
||||
|
||||
pub fn leader_replica_id(&self) -> Option<ReplicaId> {
|
||||
self.leader_replica_id
|
||||
}
|
||||
|
||||
pub fn buffer(&self) -> &ModelHandle<MultiBuffer> {
|
||||
&self.buffer
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue