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 committed Sep 13, 2024
1 parent 1ef74b5 commit f2dc2b0
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 f2dc2b0

Please sign in to comment.