File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -267,9 +267,8 @@ require('lazy').setup({
267267 -- which loads which-key before all the UI elements are loaded. Events can be
268268 -- normal autocommands events (`:help autocmd-events`).
269269 --
270- -- Then, because we use the `config` key, the configuration only runs
271- -- after the plugin has been loaded:
272- -- config = function() ... end
270+ -- Then, because we use the `opts` key (recommended), the configuration runs
271+ -- after the plugin has been loaded as `require(MODULE).setup(opts)`.
273272
274273 { -- Useful plugin to show you pending keybinds.
275274 ' folke/which-key.nvim' ,
@@ -637,8 +636,8 @@ require('lazy').setup({
637636 --
638637
639638 lua_ls = {
640- -- cmd = {...},
641- -- filetypes = { ...},
639+ -- cmd = { ... },
640+ -- filetypes = { ... },
642641 -- capabilities = {},
643642 settings = {
644643 Lua = {
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ return {
3636 -- visual mode
3737 map (' v' , ' <leader>hs' , function ()
3838 gitsigns .stage_hunk { vim .fn .line ' .' , vim .fn .line ' v' }
39- end , { desc = ' stage git hunk' })
39+ end , { desc = ' git [s]tage hunk' })
4040 map (' v' , ' <leader>hr' , function ()
4141 gitsigns .reset_hunk { vim .fn .line ' .' , vim .fn .line ' v' }
42- end , { desc = ' reset git hunk' })
42+ end , { desc = ' git [r]eset hunk' })
4343 -- normal mode
4444 map (' n' , ' <leader>hs' , gitsigns .stage_hunk , { desc = ' git [s]tage hunk' })
4545 map (' n' , ' <leader>hr' , gitsigns .reset_hunk , { desc = ' git [r]eset hunk' })
You can’t perform that action at this time.
0 commit comments