Skip to content

Commit

Permalink
fix: diffthis vertical option
Browse files Browse the repository at this point in the history
  • Loading branch information
Péter Szabados authored and lewis6991 committed Sep 26, 2024
1 parent 233bcbf commit 04a75cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitsigns/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ M.diffthis = function(base, opts)
base = tostring(base)
end
opts = opts or {}
if not opts.vertical then
if opts.vertical == nil then
opts.vertical = config.diff_opts.vertical
end
require('gitsigns.diffthis').diffthis(base, opts)
Expand Down

0 comments on commit 04a75cb

Please sign in to comment.