aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim/plugins/which-key.nix
blob: 67f2427929c546ee5dc9f351ca88487663574487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, lib, ... }:

# Which-key - Popup for keybindings (which-key.nvim)
{
  config.programs.nixvim.plugins.which-key = lib.mkIf config.development.nixvim.enable {
    enable = true;
    settings = {
      plugins = {
        marks = true;
        registers = true;
        spelling = {
          enabled = true;
          suggestions = 20;
        };
      };
      win = {
        border = "single";
      };
    };
  };
}