aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/which-key.nix
blob: e5b96a5d8c5d09b0c52daede3cf441e59557af65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"; };
    };
  };
}