plugins/fzf-lua: optionally enable skim dependency

This commit is contained in:
Heitor Augusto 2025-11-14 14:28:31 -03:00 committed by Gaétan Lepage
parent 53d47ddf74
commit 6f549ab04f

View file

@ -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;