Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: opening "nvim dir/" may focus wrong window
Yazi.nvim has a feature where you can specify `open_for_directories = true` to automatically open yazi when opening a directory in Neovim. In some cases, opening a directory when starting Neovim from the command line would show yazi, but the window under yazi was selected. Yazi was supposed to have been focused instead. This was due to the default netrw file manager not having a file name for the buffer that was opened. I don't know why this only happened in some cases. Fixes #58
- Loading branch information