aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim/plugins/which-key.nix
blob: ea556153aaa1ac52a6af9bfb8b5933edb3a7c715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Which-key - Popup for keybindings (which-key.nvim)
{ config, lib, ... }:
{
  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";
      };
    };
  };
}