whichkey.lua 378 B

12345678910111213141516171819202122232425
  1. local M = {
  2. "folke/which-key.nvim",
  3. event = "VeryLazy",
  4. init = function()
  5. vim.o.timeout = true
  6. vim.o.timeoutlen = 500
  7. end,
  8. }
  9. M.config = function()
  10. require("which-key").setup({
  11. win = {
  12. border = "single",
  13. },
  14. plugins = {
  15. marks = true,
  16. registers = true,
  17. spelling = {
  18. enabled = false,
  19. },
  20. },
  21. })
  22. end
  23. return M