Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: diffthis vertical option #1120

Merged
merged 1 commit into from
Sep 26, 2024
Merged

fix: diffthis vertical option #1120

merged 1 commit into from
Sep 26, 2024

Conversation

petersohn
Copy link

Error description

My default for opening splits is vertical. I try to open diffthis in vertical:

require('gitsigns').diffthis { '', vertical = false }

It still opens the diff vertically.

Fix description

The error is that the value is replaced by the default because it compares the argument as a bool instead of comparing with nil.

@lewis6991 lewis6991 enabled auto-merge (rebase) September 13, 2024 15:55
@lewis6991 lewis6991 enabled auto-merge (rebase) September 26, 2024 10:19
@lewis6991 lewis6991 merged commit dcdcfcb into lewis6991:main Sep 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants