diff options
Diffstat (limited to 'modules/development/nixvim/plugins/which-key/default.nix')
| -rw-r--r-- | modules/development/nixvim/plugins/which-key/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/development/nixvim/plugins/which-key/default.nix b/modules/development/nixvim/plugins/which-key/default.nix index 3a0c0ef..455071e 100644 --- a/modules/development/nixvim/plugins/which-key/default.nix +++ b/modules/development/nixvim/plugins/which-key/default.nix @@ -1,7 +1,10 @@ # Popup for keybindings { config, lib, ... }: +let + cfg = config.development.nixvim; +in { - config.programs.nixvim.plugins.which-key = lib.mkIf config.development.nixvim.enable { + config.programs.nixvim.plugins.which-key = lib.mkIf cfg.enable { enable = true; settings = { plugins = { |
