nixvimConfig/plugins/which-key.nix
Nicolas Goudry 1c12503ebf
chore: initial commit
Moved from a94642d3e8
2024-05-27 01:48:56 +02:00

21 lines
562 B
Nix

# homepage: https://github.com/folke/which-key.nvim
# nixvim doc: https://nix-community.github.io/nixvim/plugins/which-key/index.html
_:
{
opts = {
enable = true;
window.border = "single";
# Disable which-key when in neo-tree or telescope
disable.filetypes = [
"TelescopePrompt"
"neo-tree"
"neo-tree-popup"
];
};
# Enable catppuccin colors
# https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/which_key.lua
rootOpts.colorschemes.catppuccin.settings.integrations.which_key = true;
}