1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-09 18:41:07 +01:00
nixvim/plugins/by-name/telescope/extensions/manix.nix
2025-12-07 23:34:03 +00:00

27 lines
505 B
Nix

{
lib,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
mkExtension = import ./_mk-extension.nix;
in
mkExtension {
name = "manix";
package = "telescope-manix";
dependencies = [ "manix" ];
settingsOptions = {
manix_args = defaultNullOpts.mkListOf lib.types.str [ ] "CLI arguments to pass to manix.";
cword = defaultNullOpts.mkBool false ''
Set to `true` if you want to use the current word as the search query.
'';
};
settingsExample = {
cword = true;
};
}