mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0599: diff mode is insufficiently tested
Problem: diff mode is insufficiently tested Solution: Add more test cases. (Dominique Pelle, closes #1685)
This commit is contained in:
@@ -1244,7 +1244,8 @@ ex_diffoff(exarg_T *eap)
|
||||
wp->w_p_wrap = wp->w_p_wrap_save;
|
||||
#ifdef FEAT_FOLDING
|
||||
free_string_option(wp->w_p_fdm);
|
||||
wp->w_p_fdm = vim_strsave(wp->w_p_fdm_save);
|
||||
wp->w_p_fdm = vim_strsave(
|
||||
*wp->w_p_fdm_save ? wp->w_p_fdm_save : (char_u*)"manual");
|
||||
|
||||
if (wp->w_p_fdc == diff_foldcolumn)
|
||||
wp->w_p_fdc = wp->w_p_fdc_save;
|
||||
|
Reference in New Issue
Block a user