-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neovide Opening File Opens Same File Twice #2609
Comments
As a side note, one workaround is to use the add the --no-tabs flag. |
I can't repeat this here, which platform are you running on? |
It’s happening to me on MacOS Sonoma. |
I'm on mac sonoma as well...the context for this is trying to set up neovim with unity. I started with trying nvr, but gave up after a couple of days. So I instead tried Neovide which def works better out of the box, but opens up the files twice. |
The following workaround works for me.
|
Can someone provide a log file, |
Odd. With |
Very strange, maybe the commandline parser interprets the file as both a file to open and neovim arguments. Can you try with Although, it should be the same on all platforms. |
|
|
Thanks, so it starts Neovim correctly. So, it seems like macOS is parsing the comandline and invoking the |
Here's the stupid design Apple has decided to implement TLDR; there's no way to disable the built in parsing of the arguments, so we need to ignore the openfile requests for them, or maybe always only use openfile, and ignore the initial arguments. The problem is that I can't find any official documentation of this, and nothing about what the scheme it uses, if everything that looks like a file is passed to I guess that's something for the one actually fixing the bug to find out... We might also want to delay the initial file list parsing, see |
When I open a file like "neovide main.rs", the file opens, but it opens the file twice in two different tabs. How do I open the file only once. Am I missing something here?
The text was updated successfully, but these errors were encountered: