nix-config/modules/home-manager/nvim/which-key.nix
Gabe Venberg 511b8332ed lockfile update and hetzner radicale server.
Hetzner server will eventually have other things on it.
2024-07-27 19:11:57 -05:00

28 lines
728 B
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.user.nvim.enable {
programs.nixvim = {
opts = {
timeout = true;
timeoutlen = 300;
};
plugins.which-key = {
enable = true;
# TODO: remvoe this once https://github.com/nix-community/nixvim/issues/1901 is fixed.
package = pkgs.vimPlugins.which-key-nvim.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = oldAttrs.src.owner;
repo = oldAttrs.src.repo;
rev = "0539da005b98b02cf730c1d9da82b8e8edb1c2d2"; # v2.1.0
hash = "sha256-gc/WJJ1s4s+hh8Mx8MTDg8pGGNOXxgKqBMwudJtpO4Y=";
};
});
};
};
};
}