telescope: package option

This commit is contained in:
Alexander Nortung 2023-01-17 22:39:27 +01:00
parent 4cfae95d52
commit 5ae64d6882

View file

@ -18,6 +18,12 @@ in
options.plugins.telescope = { options.plugins.telescope = {
enable = mkEnableOption "Enable telescope.nvim"; enable = mkEnableOption "Enable telescope.nvim";
package = mkOption {
type = types.package;
default = pkgs.vimPlugins.telescope-nvim;
description = "Plugin to use for telescope.nvim";
};
highlightTheme = mkOption { highlightTheme = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;
description = "The colorscheme to use for syntax highlighting"; description = "The colorscheme to use for syntax highlighting";
@ -53,7 +59,7 @@ in
extraPackages = [ pkgs.bat ]; extraPackages = [ pkgs.bat ];
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = with pkgs.vimPlugins; [
telescope-nvim cfg.package
plenary-nvim plenary-nvim
popup-nvim popup-nvim
]; ];