Open erodactyl opened 1 year ago
I'm not sure if its a conflict, however I had a similar problem when passing a directory as argument to neovim. it seems to have been solved by disabling netrw by passing the following code before loading Neotree:
vim.g.loaded_netrw = 0
vim.g.loaded_netrwPlugin = 0
I also had the same issue. I found that I could prevent it by having neo-tree load on BufEnter
so it was loaded in time to hijack netrw when starting neovim with a directory argument.
When I add the option
close_if_last_window = true
in my config, and then try to exit nvim (using:q
), I first get a message "Press ENTER or type command to continue", and only after I press a key nvim exits.Can you please help me out avoid this strange behavior? Expected behavior: should just exit without having to press another button first.
Here is my minimal config with lazy vim as the package manager.