fix(diff): make git the second diff choice, not vim

This commit is contained in:
Barrett Ruth 2025-09-21 17:21:46 -04:00
parent 0851339e63
commit 355cb5df82

View file

@ -597,7 +597,7 @@ local function toggle_run_panel(is_debug)
toggle_run_panel()
end, { buffer = buf, silent = true })
vim.keymap.set('n', config.run_panel.toggle_diff_key, function()
local modes = { 'none', 'vim', 'git' }
local modes = { 'none', 'git', 'vim' }
local current_idx = nil
for i, mode in ipairs(modes) do
if config.run_panel.diff_mode == mode then