which-key.lua 360 B

123456789101112131415161718
  1. return {
  2. "folke/which-key.nvim",
  3. event = "VeryLazy",
  4. opts = {
  5. -- your configuration comes here
  6. -- or leave it empty to use the default settings
  7. -- refer to the configuration section below
  8. },
  9. keys = {
  10. {
  11. "<leader>?",
  12. function()
  13. require("which-key").show({ global = false })
  14. end,
  15. desc = "Buffer Local Keymaps (which-key)",
  16. },
  17. },
  18. }