Fix paste direction for typed paste commands (#2288)

pull/2291/head
Michael Davis 3 years ago committed by GitHub
parent fcd0ca3912
commit 773736b03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -648,7 +648,7 @@ fn paste_clipboard_before(
_args: &[Cow<str>],
_event: PromptEvent,
) -> anyhow::Result<()> {
paste_clipboard_impl(cx.editor, Paste::After, ClipboardType::Clipboard, 1)
paste_clipboard_impl(cx.editor, Paste::Before, ClipboardType::Clipboard, 1)
}
fn paste_primary_clipboard_after(
@ -664,7 +664,7 @@ fn paste_primary_clipboard_before(
_args: &[Cow<str>],
_event: PromptEvent,
) -> anyhow::Result<()> {
paste_clipboard_impl(cx.editor, Paste::After, ClipboardType::Selection, 1)
paste_clipboard_impl(cx.editor, Paste::Before, ClipboardType::Selection, 1)
}
fn replace_selections_with_clipboard_impl(

Loading…
Cancel
Save