function conf () --- Global options vim.o.timeout = true vim.o.timeoutlen = 300 --- Override keymap local km = vim.keymap.set km('n', '', ':WhichKey', { desc = "Which-key" }) local wk = require("which-key") wk.register({ n = { name = "nohl", }, }, { prefix = "" }) end return { "folke/which-key.nvim", event = "VeryLazy", config = conf, }