fix bad conditional

macos-click-through
Sergio Ribera 3 years ago
parent 30efb09f93
commit 092fb87e8d

@ -164,7 +164,7 @@ pub fn handle_command_line_arguments(args: Vec<String>) -> Result<(), String> {
.unwrap_or_default(); .unwrap_or_default();
if files_to_open.len() > 1 if files_to_open.len() > 1
&& !files_to_open.contains(&String::from("-p")) && !neovim_args.contains(&String::from("-p"))
&& !matches.is_present("no_tabs") && !matches.is_present("no_tabs")
{ {
neovim_args.push("-p".to_owned()); neovim_args.push("-p".to_owned());

Loading…
Cancel
Save