telescope: correctly nest pickers under setupOpts

Applies the following fixes:
- Correctly nests "pickers" config under "telescope.setupOpts"
- Correctly nests "find_command" config under "telescope.setupOpts.pickers.find_files"
- Sets the find_command to mimic pre-fix behavior with "fd --type=file"
This commit is contained in:
dinislam tebuev 2025-03-30 10:28:41 -07:00
commit 29a4f7183a
2 changed files with 14 additions and 5 deletions

View file

@ -280,3 +280,11 @@
[Sc3l3t0n](https://github.com/Sc3l3t0n):
- Add F# support under `vim.languages.fsharp`.
[tebuevd](https://github.com/tebuevd):
- Fix `pickers` configuration for `telescope` by nesting it under `setupOpts`
- Fix `find_command` configuration for `telescope` by nesting it under
`setupOpts.pickers.find_files`
- Update default `telescope.setupOpts.pickers.find_files.find_command` to only
include files (and therefore exclude directories from results)