Commit 6af7df0
fix: legacy diff options not working due to merge order (#142)
The backward compatibility mapping for `vertical_split` and
`open_in_current_tab` options was not working because it checked
if the merged config had nil values, but after merging with defaults,
these fields were already populated.
Fixed by unconditionally applying the legacy option mappings when
the legacy options are present. This ensures backward compatibility
for users still using the old option names.
Fixes:
- vertical_split=false now correctly sets layout="horizontal"
- open_in_current_tab=false now correctly sets open_in_new_tab=true
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent ac2baef commit 6af7df0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments