Skip to content

Commit 70c4aac

Browse files
committed
Remove redundant and outdated which-key spec
1 parent 523dd51 commit 70c4aac

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

init.lua

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,17 +1171,6 @@ local on_attach = function(_, bufnr)
11711171
end, { desc = 'Format current buffer with LSP' })
11721172
end
11731173

1174-
-- document existing key chains
1175-
require('which-key').register {
1176-
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
1177-
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
1178-
['<leader>g'] = { name = '[G]it', _ = 'which_key_ignore' },
1179-
['<leader>h'] = { name = 'More git', _ = 'which_key_ignore' },
1180-
['<leader>r'] = { name = '[R]ename', _ = 'which_key_ignore' },
1181-
['<leader>s'] = { name = '[S]earch', _ = 'which_key_ignore' },
1182-
['<leader>w'] = { name = '[W]orkspace', _ = 'which_key_ignore' },
1183-
}
1184-
11851174
-- mason-lspconfig requires that these setup functions are called in this order
11861175
-- before setting up the servers.
11871176
require('mason').setup()

0 commit comments

Comments
 (0)