Sorry, I missed the previous message. Glad you got it working with the help of @rewire@programming.dev.
Regarding the massive list, yeah that is expected. If you haven't got fd or rg installed in you system, telescope falls back to regular find. Find doesn't have any sort of builtin ignore list, so it just lists all the files. If you are using the builtin.find_files normally, I think it executes (at least something close to)
find -not -path "*/.*" -type f
With the hidden=true, it does something along the lines of
find . -type f
Both of these commands are executed from the cwd (normally the directory you started nvim in). If you want it only show to a certain depth, you can use the telescope's setup to change the default find_command
telescope.setup({
pickers = {
find_files = {
find_command = { "find", "-maxdepth", "3", ".", "-type", "f"},
},
},
}
Modify that to your requirement and then use the keymap to call builtin.find_files() and it should work.
