Nvim-tree.lua: Cannot expand symlinks linked to directories

Created on 8 Sep 2020  路  7Comments  路  Source: kyazdani42/nvim-tree.lua

Create a symlink to a directory, but cannot list files by opening the symliink within this plugin.

bug

Most helpful comment

symlinks are useful to me too.
I work in an open source project where parts of the source tree are symlinks to other parts.

All 7 comments

Hum you are right, i've never tried to open a symlink though. If you wish to fix that, i'll be happy to accept a PR :)

symlinks are useful to me too.
I work in an open source project where parts of the source tree are symlinks to other parts.

If it is a directory symbolic link, the icon should also be a directory!

hum i do not agree, it would not be clear the link is a link, maybe adding an icon after the arrow to indicate which filetype it is (or directory).

Other well-known filer plugins such as Nedtree and coc-explorer can open directory symlinks.
There is also an icon for it.
https://github.com/ryanoasis/vim-devicons/pull/221
https://github.com/weirongxu/coc-explorer/blob/880818c79297cfdd677926bbb5c902d6e9d25278/src/icons.nerdfont.json#L11-L13

i like the way vim-devicons does it. I'll add that at some point if nobody wants to give it a shot

fixed in master. Open an issue if you want more customizations over the link status

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ziulev picture ziulev  路  8Comments

gmr458 picture gmr458  路  5Comments

afonsocarlos picture afonsocarlos  路  3Comments

michaelb picture michaelb  路  5Comments

CantoroMC picture CantoroMC  路  7Comments