patch 8.2.2490: 'wrap' option is always reset when starting diff mode
Problem: 'wrap' option is always reset when starting diff mode. Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
This commit is contained in:
@ -59,7 +59,7 @@ In each of the edited files these options are set:
|
||||
'scrollbind' on
|
||||
'cursorbind' on
|
||||
'scrollopt' includes "hor"
|
||||
'wrap' off
|
||||
'wrap' off, or leave as-is if 'diffopt' includes "followwrap"
|
||||
'foldmethod' "diff"
|
||||
'foldcolumn' value from 'diffopt', default is 2
|
||||
|
||||
@ -144,7 +144,7 @@ Otherwise they are set to their default value:
|
||||
'scrollbind' off
|
||||
'cursorbind' off
|
||||
'scrollopt' without "hor"
|
||||
'wrap' on
|
||||
'wrap' on, or leave as-is if 'diffopt' includes "followwrap"
|
||||
'foldmethod' "manual"
|
||||
'foldcolumn' 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user