diff options
Diffstat (limited to 'lua/plugins/which-key.lua')
| -rw-r--r-- | lua/plugins/which-key.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/plugins/which-key.lua b/lua/plugins/which-key.lua new file mode 100644 index 0000000..50cd483 --- /dev/null +++ b/lua/plugins/which-key.lua @@ -0,0 +1,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, + } |