mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-23 18:55:56 +02:00
telescope: package option
This commit is contained in:
parent
4cfae95d52
commit
5ae64d6882
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue