aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/which-key.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-11 21:03:34 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-11 21:03:34 +0530
commit2eb0760f02a2a821a5d774f70521b6c16426639d (patch)
treea86ecfa0a4fcdebaa636eabaaa231d22841ad099 /modules/tools/nixvim/plugins/which-key.nix
parent54142dba0991ecbe3031ef532d0a379ee3c58871 (diff)
downloadhome-manager-config-2eb0760f02a2a821a5d774f70521b6c16426639d.tar.gz
home-manager-config-2eb0760f02a2a821a5d774f70521b6c16426639d.zip
Splitted nixvim config into different modules
Diffstat (limited to 'modules/tools/nixvim/plugins/which-key.nix')
-rw-r--r--modules/tools/nixvim/plugins/which-key.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/tools/nixvim/plugins/which-key.nix b/modules/tools/nixvim/plugins/which-key.nix
new file mode 100644
index 0000000..99f4393
--- /dev/null
+++ b/modules/tools/nixvim/plugins/which-key.nix
@@ -0,0 +1,15 @@
+{ config, lib, ... }:
+
+{
+ config.programs.nixvim.plugins.which-key = lib.mkIf config.tools.nixvim.enable {
+ enable = true;
+ settings = {
+ plugins = {
+ marks = true;
+ registers = true;
+ spelling = { enabled = true; suggestions = 20; };
+ };
+ win = { border = "single"; };
+ };
+ };
+}