Curs3W4ll/Dotfiles

[BUG] Neovim Lua - Lazy window blocked when opening folder

Closed this issue · 1 comments

Describe the bug
When opening a folder, neo-tree is launched by default, but when the Lazy popup automatically opens, then neo-tree will gain the focus, and Lazy window will lose it, so you're not able to close the Lazy window anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Adds a non-installed plugin in plugins.lua (you can comment one plugin, clean using Lazy (:Lazy clean), and uncomment the previously commented plugin)
  2. Start Neovim by opening a directory nvim pathToDir/
  3. See that the Lazy window is displayed because it need to install a new plugin, but it does not have the focus, neo-tree haves it
  4. You are not able to close the Lazy window in any way now

Expected behavior
Lazy window should not lose focus (or neo-tree should not take it on top of Lazy) so we are able to close the Lazy window.

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 20.04

Cannot reproduce anymore