whichkey: fix annoying error

This commit is contained in:
kossLAN 2024-08-31 15:15:07 -04:00
parent 9ce0f5f296
commit 850ef8aeb5
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -1,13 +1,14 @@
local whichkey = require('which-key') require('which-key').setup()
-- local whichkey = require('which-key')
--
-- whichkey.setup()
whichkey.setup() -- whichkey.add {
-- { '<leader>c', group = '[C]ode' },
whichkey.add { -- { '<leader>d', group = '[D]ocument' },
{ '<leader>c', group = '[C]ode' }, -- { '<leader>r', group = '[R]ename' },
{ '<leader>d', group = '[D]ocument' }, -- { '<leader>s', group = '[S]earch' },
{ '<leader>r', group = '[R]ename' }, -- { '<leader>w', group = '[W]orkspace' },
{ '<leader>s', group = '[S]earch' }, -- { '<leader>t', group = '[T]oggle' },
{ '<leader>w', group = '[W]orkspace' }, -- { '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
{ '<leader>t', group = '[T]oggle' }, -- }
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
}