ms-jpq / chadtree

File manager for Neovim. Better than NERDTree.
1.62k stars 60 forks source link

DirEntry subscriptable #350

Closed Midren closed 4 weeks ago

Midren commented 10 months ago

Stopped working with the next error with Python 3.8.10:

Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/main.py", line 138, in from .client import init File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/client.py", line 44, in from ._registry import ____ File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/_registry.py", line 1, in from .transitions import ( File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/transitions/autocmds.py", line 11, in from ..state.next import forward File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/state/next.py", line 7, in from ..fs.cartographer import update File "/root/.dotfiles/vim/vim/plugged/chadtree/chadtree/fs/cartographer.py", line 69, in dirent: Union[PurePath, DirEntry[str]] TypeError: 'type' object is not subscriptable Press ENTER or type command to continue