Expected behavior
Result should match what I typed
Actual behavior
Directories are not filtered
I think it is due to the -a arg in the fd command. The full path is taken into account for filtering.
If I execute :lua require("telescope.builtin").find_files({find_command = { "fd", "-t", "d" }}), the filtering works as expected.
Steps to reproduce
For example, the home directory is /home/menufacture.
:lua require('telescope').extensions.menufacture.live_grep()
search_in_directory
actionmenufacture
Expected behavior Result should match what I typed
Actual behavior Directories are not filtered
I think it is due to the -a arg in the fd command. The full path is taken into account for filtering. If I execute
:lua require("telescope.builtin").find_files({find_command = { "fd", "-t", "d" }})
, the filtering works as expected.