🎨 Rename and simplify some autoindent stuff
This commit is contained in:
parent
7a26fa18c7
commit
868c460620
10 changed files with 112 additions and 94 deletions
|
@ -254,7 +254,7 @@ pub fn paste(_: &mut Workspace, _: &VisualPaste, cx: &mut ViewContext<Workspace>
|
|||
}
|
||||
}
|
||||
drop(snapshot);
|
||||
buffer.edit(edits, Some(AutoindentMode::Independent), cx);
|
||||
buffer.edit(edits, Some(AutoindentMode::EachLine), cx);
|
||||
});
|
||||
|
||||
editor.change_selections(Some(Autoscroll::Fit), cx, |s| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue