Skip to content

Commit ceb5a3b

Browse files
Merge branch 'nvim-lua:master' into main
2 parents 64a4490 + de44f49 commit ceb5a3b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

init.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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 = {

lua/kickstart/plugins/gitsigns.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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' })

0 commit comments

Comments
 (0)