diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 8e3d93e0..c0b94133 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -286,12 +286,4 @@ [venkyr77](https://github.com/venkyr77): -- Add lint (luacheck) and formatting (stylua) support for Lua. - -[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) +- Add lint(luacheck), format(stylua) support for lua. diff --git a/modules/plugins/utility/telescope/telescope.nix b/modules/plugins/utility/telescope/telescope.nix index beacc990..0665eb11 100644 --- a/modules/plugins/utility/telescope/telescope.nix +++ b/modules/plugins/utility/telescope/telescope.nix @@ -8,12 +8,6 @@ inherit (lib.nvim.binds) mkMappingOption; inherit (lib.nvim.types) mkPluginSetupOption luaInline; setupOptions = { - pickers.find_files.find_command = mkOption { - description = "cmd to use for finding files"; - type = either (listOf str) luaInline; - default = ["${pkgs.fd}/bin/fd" "--type=file"]; - }; - defaults = { vimgrep_arguments = mkOption { description = '' @@ -33,6 +27,11 @@ "--no-ignore" ]; }; + pickers.find_command = mkOption { + description = "cmd to use for finding files"; + type = either (listOf str) luaInline; + default = ["${pkgs.fd}/bin/fd"]; + }; prompt_prefix = mkOption { description = "Shown in front of Telescope's prompt"; type = str;