mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-28 05:54:13 +02:00
telescope/frecency: package option
This commit is contained in:
parent
5ae64d6882
commit
46baee2ece
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,12 @@ in
|
|||
options.plugins.telescope.extensions.frecency = {
|
||||
enable = mkEnableOption "Enable frecency";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.telescope-frecency-nvim;
|
||||
description = "Plugin to use for telescope frecency";
|
||||
};
|
||||
|
||||
dbRoot = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
description = "Path to parent directory of custom database location. Defaults to $XDG_DATA_HOME/nvim";
|
||||
|
@ -57,7 +63,7 @@ in
|
|||
in mkIf cfg.enable {
|
||||
extraPackages = [ pkgs.sqlite ];
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
telescope-frecency-nvim
|
||||
cfg.package
|
||||
sqlite-lua
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue