X3eRo0/dired.nvim

If I go to ~/ I get error

tharynot opened this issue ยท 16 comments

image
After "Enter"
image

Hey,
Can you post the output of "ls -lash ~/". for some reason one of the file is causing an issue. output of ls will help me understand the issue. Thanks

No :) but command has correct output and does not make errors

How am I supposed to reproduce the bug. I need to know what kind of file is causing this issue.

Ok. This is output
image

Thanks @tharyThary :-)

@tharyThary I pushed some changes can you post the output after updating the plugin?

This error seems to occur when editing a directory with lots of files and directories inside.
:e ~/, :e /home/wieerd, :e /usr/bin all produced same error.

But this commands working

Got it. I will now try to reproduce.

This error seems to occur when editing a directory with lots of files and directories inside. :e ~/, :e /home/wieerd, :e /usr/bin all produced same error.

On my machine /usr/bin loads perfectly and for really large directories I created a folder with 99999 folders inside and my neovim was able to load that as well after getting stuck for 5 seconds.

huge_folder:
image

/usr/bin:
image

@WieeRd can you post the output of "ls -lash ~/" or "ls -lash /usr/bin" in a pastebin or something? It will help me. Thanks :)

@tharyThary please check if the issue has been resolved or not? I made some changes to the directory scanning function.
On my system, dired.nvim crashed when browsing a folder with a broken symlink. Now that is fixed in 771baee

It is fixed now!
image
My home directory did have broken symlink inside it.
I think you can close the issue now.

@tharyThary also had broken symlinks by steam. Lmao.

Thanks