Skip to content

Commit

Permalink
fix(diffthis): apply mods properly
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jun 23, 2022
1 parent 3543443 commit 4883988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/gitsigns/actions.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion teal/gitsigns/actions.tl
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ C.diffthis = function(pos_args: {any}, named_args: {string:any}, params: api.Use
}

if params.smods then
if opts.split == nil then
if params.smods.split ~= '' and opts.split == nil then
opts.split = params.smods.split
end
if opts.vertical == nil then
Expand Down

0 comments on commit 4883988

Please sign in to comment.