aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/which-key.nix
diff options
context:
space:
mode:
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"; };
+ };
+ };
+}