Telescope find_files finds garbage instead of wanted file

Viewed 988

I am new to NeoVim and Telescope so I tried to use NvChad

When I try to use :Telescope find_files and write whole name of file that exist only in one place in entire project - telescope instead of finding that one particular file shows me thousands of files in where max 3 characters match.

Do you have any ideas why that is? Or maybe I am using it somehow wrong :D

2 Answers

Are you opening nvim in a particular directory ie nvim path/to/my/project? If not, it's likely that's your issue as it's searching your entire computer for a match as you didn't specify that working directory.

Got the same problems when using Nvchad, it's not a problem from the telescope. Try to remove Nvchad config and config telescope yourself

Related