-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symlinked folders are not shown #300
Comments
I think this is a pretty solid feature to have. Just showing symlinked files/folder would be trivially easy. One concern I have is that we don't currently have a good "ecosystem" around navigating symlinks. Currently we use the I'll be pretty busy over the next few months. I'm not sure if I'll have the capacity for new features. PRs are welcome. |
I think the behavior you described is most practical way the folder links can work.It will work very nicely for my workflow. Sadly i am not too familiar with either neovim or the lua language. |
I'm not sure if following symlink by default is ideal though. I think ideally to have symlinks as part of this plugin, we probably want:
If you're interested in trying to implement these, I can try to help you through it. In the meantime, if you wanna try out showing symlinks yourself, you can fork this repo and add something like table.insert(args, "--type")
table.insert(args, "symlink") somewhere in here telescope-file-browser.nvim/lua/telescope/_extensions/file_browser/finders.lua Lines 38 to 66 in ad7b637
edit: adding the |
@jamestrew I think a good and quick short-term workaround would be to enable showing symlinked files/folder, when the user has if opts.follow_symlinks then
table.insert(args, "--follow")
end somewhere after here: telescope-file-browser.nvim/lua/telescope/_extensions/file_browser/finders.lua Lines 59 to 64 in ad7b637
Would it be alright if I make a PR for this? |
@rashil2000 sounds good. go for it thanks. |
I was looking forward to this, thanks. |
Issue is still there |
I'm looking forward to this... hope will get approved soon. |
I was originally working on the PR but after that time I moved to using emacs and didn't time to work on the PR. There are only a few bug fixs left while the base functionality |
I think I won't know have to continue your work... not a lua/nvim programmer, and mainly, even though Im learning, I dunno how to setup my nvim to get a environment to test and get logs. Do you know any guide to set it up? |
You can just create a fork of this plugin and during plugin installation point to your repo instead of this one. Then you can start developing in ~/.local/share/nvim folder where you will find your installed plugins |
Description
I use stow to manage my config file. All the folders which stow has symlinked are not visible inside the directory view.
Neovim version
Operating system and version
Void Linux
Steps to reproduce
Expected behavior
It expected to show symlinks like (Like in the screen shot) with a arrow and path of the link.It can also show them as just regular folders or files.
Actual behavior
Symlinks are ignored and not visible in the default view
Minimal config
The text was updated successfully, but these errors were encountered: