Skip to content

Commit a9b9a99

Browse files
committed
fixed: duplicate key
1 parent 95fc6fe commit a9b9a99

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

lua/LoneExile/core/settings/plugins/all.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ return {
1717
{ 'akinsho/toggleterm.nvim', true },
1818
{ 'olimorris/codecompanion.nvim', true },
1919
{ 'HakonHarnes/img-clip.nvim', true },
20-
{ 'nvim-mini/mini.diff', true },
20+
{ 'nvim-mini/mini.diff', false },
2121

2222
{ 'nvim-neotest/neotest', true },
2323
{ 'andythigpen/nvim-coverage', true },
@@ -33,7 +33,7 @@ return {
3333
{ 'theprimeagen/harpoon', true },
3434
{ 'phaazon/hop.nvim', true },
3535
{ 'nacro90/numb.nvim', true },
36-
{ 'nvim-mini/mini.surround', true },
36+
{ 'nvim-mini/mini.surround', true },
3737
{ 'declancm/cinnamon.nvim', false },
3838
{ 'chentoast/marks.nvim', true },
3939

lua/LoneExile/editor/motion/diff.lua

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ M.setup = function()
1212
diff.setup({
1313
-- Disabled by default
1414
source = diff.gen_source.none(),
15+
mappings = {
16+
-- Apply hunks inside a visual/operator region
17+
-- apply = 'gh',
18+
apply = '',
19+
20+
-- Reset hunks inside a visual/operator region
21+
reset = 'gH',
22+
23+
-- Hunk range textobject to be used inside operator
24+
-- Works also in Visual mode if mapping differs from apply and reset
25+
-- textobject = 'gh',
26+
textobject = '',
27+
28+
-- Go to hunk range in corresponding direction
29+
goto_first = '[H',
30+
goto_prev = '[h',
31+
goto_next = ']h',
32+
goto_last = ']H',
33+
},
1534
})
1635
end,
1736
}

0 commit comments

Comments
 (0)