local groups = { { "f", group = "Find" }, { "g", group = "Git" }, { "t", group = "Test and toggles" }, { "b", group = "Buffers" }, } if vim.g.profile == "full" then vim.list_extend(groups, { { "l", group = "LSP" }, { "d", group = "Debug" }, { "a", group = "AI agent" }, }) end return { { "folke/which-key.nvim", event = "VeryLazy", opts = { spec = groups }, }, }