kyazdani42 / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nvim-tree cannot close notify popup when closing with :NvimTreeClose

dkeithdj opened this issue · comments

OS
Windows 10 (WSL)

Neovim version
NVIM v0.7.0-dev+716-g9a0196d24
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Nvim-tree version
master

Describe the bug
Vim:E444: Cannot close last window doing :NvimTreeClose while notify popup is still open
nvimRecord

To Reproduce
nvim .
do:NvimTreeClose or other commands related to closing nvim-tree

Expected behavior
no errors and popup will close

minimal Nvim-Tree config

vim.g.nvim_tree_window_picker_exclude = {
  filetype = { "notify", "packer", "qf" },
buftype = { "terminal" },
}
vim.g.nvim_tree_quit_on_open = 1
vim.g.nvim_tree_indent_markers = 1

nvim_tree.setup({
  -- ignore_ft_on_setup = { "notify" },
  open_on_setup = false,

  auto_close = false,
  -- update_to_buf_dir = { enable = false, auto_open = false },
  view = {
    width = 30,
  },
  update_focused_file = { enable = true },

  -- disable_window_picker = 0,
})

should be fixed now by #863, reopen if it isn't

ezoic increase your site revenue