We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c88299 commit 20f7ab0Copy full SHA for 20f7ab0
plugins/by-name/zk/default.nix
@@ -97,13 +97,13 @@ lib.nixvim.plugins.mkNeovimPlugin {
97
98
};
99
100
- extraConfig = cfg: {
+ extraConfig = cfg: opts: {
101
warnings = lib.nixvim.mkWarnings "plugins.zk" (
102
mapAttrsToList
103
(picker: pluginName: {
104
when = (cfg.settings.picker == picker) && !config.plugins.${pluginName}.enable;
105
message = ''
106
- You have set `plugins.zk.settings.picker = "${picker}"` but `plugins.${pluginName}` is not enabled in your config.
+ You have defined `${opts.settings}.picker = "${picker}"` but `plugins.${pluginName}` is not enabled.
107
'';
108
})
109
{
0 commit comments