Closed
Description
I think using absolute path in searching for file is wrong because there could be symlinks.
For example in my system I open file from home directory:
~$ nvim Documents/vimwiki/index.md
But Documents
is symlink Documents -> /mnt/Data/home_user/Documents
So the real absolute file path is /mnt/Data/home_user/Documents/vimwiki/index.md
which nvim-tree tries to find being in /home/user
directory. So the file can't be found.
I think it would be better to search file by relative path from nvim's cwd.