mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 23:35:13 +00:00
Compare commits
No commits in common. "8a1c7112f710664505570f05a30e2709161f24cc" and "78ca1e53d756aac2d215b14e310221c077b8119a" have entirely different histories.
8a1c7112f7
...
78ca1e53d7
2 changed files with 6 additions and 15 deletions
|
|
@ -286,12 +286,4 @@
|
||||||
|
|
||||||
[venkyr77](https://github.com/venkyr77):
|
[venkyr77](https://github.com/venkyr77):
|
||||||
|
|
||||||
- Add lint (luacheck) and formatting (stylua) support for Lua.
|
- Add lint(luacheck), format(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)
|
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,6 @@
|
||||||
inherit (lib.nvim.binds) mkMappingOption;
|
inherit (lib.nvim.binds) mkMappingOption;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
|
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
|
||||||
setupOptions = {
|
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 = {
|
defaults = {
|
||||||
vimgrep_arguments = mkOption {
|
vimgrep_arguments = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
|
|
@ -33,6 +27,11 @@
|
||||||
"--no-ignore"
|
"--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 {
|
prompt_prefix = mkOption {
|
||||||
description = "Shown in front of Telescope's prompt";
|
description = "Shown in front of Telescope's prompt";
|
||||||
type = str;
|
type = str;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue