Skip to content

Commit

Permalink
Make --keep behaviour consistent with Ruby implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
spamwax committed Sep 4, 2023
1 parent 383b0b1 commit 24ec756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote_editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub(crate) fn open_file_in_remote(
opened_buffer.display_name.to_string_lossy(),
opened_buffer.canon_path.to_string_lossy(),
opened_buffer.line,
if settings.keep { "yes" } else { "no" },
if ! settings.keep { "yes" } else { "no" },
token
);
trace!("header: {}", header);
Expand Down

0 comments on commit 24ec756

Please sign in to comment.