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.
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 https://github.com/mikavilpas/yazi.nvim/issues/58