File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,17 @@ local on_attach = function(_, bufnr)
438438 end , { desc = ' Format current buffer with LSP' })
439439end
440440
441+ -- document existing key chains
442+ require (' which-key' ).register ({
443+ [' <leader>c' ] = { name = ' [C]ode' , _ = ' which_key_ignore' },
444+ [' <leader>d' ] = { name = ' [D]ocument' , _ = ' which_key_ignore' },
445+ [' <leader>g' ] = { name = ' [G]it' , _ = ' which_key_ignore' },
446+ [' <leader>h' ] = { name = ' More git' , _ = ' which_key_ignore' },
447+ [' <leader>r' ] = { name = ' [R]ename' , _ = ' which_key_ignore' },
448+ [' <leader>s' ] = { name = ' [S]earch' , _ = ' which_key_ignore' },
449+ [' <leader>w' ] = { name = ' [W]orkspace' , _ = ' which_key_ignore' },
450+ })
451+
441452-- Enable the following language servers
442453-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
443454--
You can’t perform that action at this time.
0 commit comments