Closed jrwrigh closed 2 years ago
fd
is installed so you end up using that. The default command is fd --type f
try it in your directory and you will find out that those files aren't listed either. We have a shorthand to follow links Telescope find_files follow=true
. Also the find
command doesn't follow symlinks.
You could have found that when reading :help telescope.builtin.find_files
. Hope that helps. This issue is resolved imo
Yep, that worked. I read that section of the help document (and even found issue #394) and misinterpreted "follow symlinks" as "recurse into symlinked directories" rather than "allow displaying of symlink files". Specifically this comment/description of their problem threw me off, as my situation is of the files themselves being symlinks rather than a symlinked directory.
Description
Telescope isn't matching symlinks for some reason. I honestly don't know what else to say. I had it working a few days ago (at least I think I did), accidentally deleted part of my configuration for neovim, and upon remaking it, telescope doesn't match symlinks anymore. I can reproduce it with the minimal config below.
Neovim version
Operating system and version
Manjaro Linux
checkhealth telescope
Steps to reproduce
Go to a directory with symlinks and try to match it (ie. type the name of the file). Example:
running
:lua require('telescope.builtin').find_files()
in neovim results in:which are the only non-symlinked files in the entire directory.
Expected behavior
Match symlinks
Actual behavior
Doesn't match symlinks
Minimal config