mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-18 08:19:39 +01:00
plugins/fzf-lua: optionally enable skim dependency
This commit is contained in:
parent
53d47ddf74
commit
6f549ab04f
1 changed files with 4 additions and 0 deletions
|
|
@ -108,6 +108,10 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
|
||||
extraConfig = cfg: opts: {
|
||||
dependencies.skim.enable = lib.mkIf (cfg.profile == "skim" || cfg.settings.fzf_bin == "sk") (
|
||||
lib.mkDefault true
|
||||
);
|
||||
|
||||
# TODO: deprecated 2024-08-29 remove after 24.11
|
||||
warnings = lib.nixvim.mkWarnings "plugins.fzf-lua" {
|
||||
when = opts.iconsEnabled.isDefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue