aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/which-key.lua
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
committerElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
commit1fd0af14d592d612c2aaab7717c04c8806ba3daa (patch)
tree46aa59ff785305fcc05209091aecf64ca89e05fb /lua/plugins/which-key.lua
parentfb448577edebb1b093e6cc097c201151385986f8 (diff)
downloadnvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.tar.gz
nvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.zip
Feat: Todo actulizado
Diffstat (limited to 'lua/plugins/which-key.lua')
-rw-r--r--lua/plugins/which-key.lua14
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,
+ }