aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/which-key.lua
blob: 50cd4832d413f60170a6a1f9c9cc68107cec373d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
    'folke/which-key.nvim',
    event = 'VeryLazy',
    keys = {
      {
        -- See: https://github.com/folke/which-key.nvim/issues/476
        desc = 'Workaround for which-key not showing up on <localleader>',
        '<localleader>',
        function() require('which-key').show(vim.g.maplocalleader) end,
      },
    },
    opts = {},
    init = function() vim.opt.timeoutlen = 300 end,
  }