-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Hi, Thanks for the awesome plugin :)
I stumbled across a fatal error that freezes my nvim completely with the following setup.
Reproduce
- Config
require("neo-tree").setup({
hide_root_node = true,
filesystem = {
follow_current_file = true,
},
})- Example File Structure
- root/
- dir-A/
- dir-A-B/
- file-A-B-C.lua <- current file
- file-B.lua- Open a file that is 2 or more deeper than
cwd. (file-A-B-C.lua) - Open Neotree with
:Neotree toggle<CR>. - (cursor is focused on
file-A-B-C.luaon open by setting configfilesystem.follow_current_file = true) - Press
Gto go to the end of buffer. (cursor focus onfile-B.lua) - Press
aorAto create new file / dir. - Nvim freezes.
Notes
- Not happening with
hide_root_node = false. - neo-tree
- branch:
v2.x - commit: 4ad0458
- branch:
Details
-
nvim --version output:
- NVIM v0.8.0-dev+nightly
- Build type: RelWithDebInfo
- LuaJIT 2.1.0-beta3
-
Operating system:
5.10.102.1-microsoft-standard-WSL2 -
Screen Record
Metadata
Metadata
Assignees
Labels
No labels
