Closed petersohn closed 1 month ago
My default for opening splits is vertical. I try to open diffthis in vertical:
diffthis
require('gitsigns').diffthis { '', vertical = false }
It still opens the diff vertically.
The error is that the value is replaced by the default because it compares the argument as a bool instead of comparing with nil.
nil
Error description
My default for opening splits is vertical. I try to open
diffthis
in vertical: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
.