Merge branch 'main' into allow-following-outside-of-projects

This commit is contained in:
Max Brunsfeld 2023-09-29 14:15:33 -07:00
commit c718b810f6
109 changed files with 5271 additions and 1675 deletions

View file

@ -195,6 +195,9 @@ impl Vim {
if editor_mode == EditorMode::Full
&& !newest_selection_empty
&& self.state().mode == Mode::Normal
// if leader_replica_id is set, then you're following someone else's cursor
// don't switch vim mode.
&& editor.leader_replica_id().is_none()
{
self.switch_mode(Mode::Visual, true, cx);
}