mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 03:15:18 +02:00
telescope/media-files: package option
This commit is contained in:
parent
922f237add
commit
42af61bae8
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,12 @@ in
|
|||
options.plugins.telescope.extensions.media_files = {
|
||||
enable = mkEnableOption "Enable media_files extension for telescope";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vim.telescope-media-files-nvim;
|
||||
description = "Plugin to use for telescope extension media_files";
|
||||
};
|
||||
|
||||
filetypes = mkOption {
|
||||
default = null;
|
||||
type = with types; nullOr (listOf str);
|
||||
|
@ -25,7 +31,7 @@ in
|
|||
extraPlugins = with pkgs.vimPlugins; [
|
||||
popup-nvim
|
||||
plenary-nvim
|
||||
telescope-media-files-nvim
|
||||
cfg.package
|
||||
];
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue