return { src = "https://github.com/folke/which-key.nvim", name = "which-key.nvim", version = vim.version.range("^3"), spec = { "which-key.nvim", cmd = "WhichKey", keys = { { "", function() vim.schedule(function() require("which-key").show({ keys = vim.g.mapleader }) end) end, mode = { "n", "v" }, }, }, after = function() require("which-key").setup({ spec = { { "a", icon = "" }, { "c", desc = "Show error", icon = "󰒡" }, { "e", icon = "" }, { "", icon = "←" }, { "", icon = "→" }, { "", icon = "↑" }, { "", icon = "↓" }, { "f", group = "find", icon = "" }, { "ff", icon = "" }, { "fg", icon = "" }, { "fb", icon = "" }, { "fh", icon = "" }, { "m", group = "misc", icon = "" }, { "ma", icon = "" }, { "mt", icon = "" }, { "mp", icon = "" }, { "ml", icon = "" }, { "me", icon = "" }, }, }) end, }, }