You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a small issue. When I trying to close the last window that is a chadtree buffer, I get the following exception in the messages area:
Traceback (most recent call last):
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/__init__.py", line 84, in run
fut.result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/__init__.py", line 104, in run
new_state = await fn(
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/transitions.py", line 175, in c_quit
await call(nvim, cont)
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/nvim.py", line 27, in cont
ret = fn()
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/transitions.py", line 173, in cont
kill_fm_windows(nvim, settings=settings)
File "/home/jubnzv/.local/share/nvim/plugged/chadtree/rplugin/python3/chadtree/wm.py", line 136, in kill_fm_windows
nvim.api.win_close(window, True)
File "/home/jubnzv/.local/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
res = self._session.request(name, *args, **kwargs)
File "/home/jubnzv/.local/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 104, in request
raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:E444: Cannot close last window
Vim:E444: Cannot close last window
Steps to reproduce:
Open an arbitrary file with nvim: nvim $(mktemp)
Open chadtree: :CHADOpen<cr>
Close all other windows: <C-w>o
Try to close chadtree window: q
The text was updated successfully, but these errors were encountered:
Hi, thanks for this cool plugin.
I found a small issue. When I trying to close the last window that is a chadtree buffer, I get the following exception in the messages area:
Steps to reproduce:
nvim $(mktemp)
:CHADOpen<cr>
<C-w>o
q
The text was updated successfully, but these errors were encountered: