diff options
Diffstat (limited to 'modules/development/nixvim/plugins/comment/default.nix')
| -rw-r--r-- | modules/development/nixvim/plugins/comment/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/development/nixvim/plugins/comment/default.nix b/modules/development/nixvim/plugins/comment/default.nix index 8c69218..e0bba38 100644 --- a/modules/development/nixvim/plugins/comment/default.nix +++ b/modules/development/nixvim/plugins/comment/default.nix @@ -1,7 +1,10 @@ # Comment toggling plugin { config, lib, ... }: +let + cfg = config.development.nixvim; +in { - config.programs.nixvim.plugins.comment = lib.mkIf config.development.nixvim.enable { + config.programs.nixvim.plugins.comment = lib.mkIf cfg.enable { enable = true; settings = { toggler = { |
