summaryrefslogtreecommitdiff
path: root/runtime/doc/diff.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-10 13:18:17 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-10 13:18:17 +0100
commit4223d43c0fb6ead1e611e4469a1680a9228b6015 (patch)
tree0eb28a94ec186e4f0306f6aaae79743bd6e9b99d /runtime/doc/diff.txt
parent963ffa0a5a6091655ed72b4590ec5d5a1653bce8 (diff)
downloadvim-git-4223d43c0fb6ead1e611e4469a1680a9228b6015.tar.gz
patch 8.2.2490: 'wrap' option is always reset when starting diff modev8.2.2490
Problem: 'wrap' option is always reset when starting diff mode. Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
Diffstat (limited to 'runtime/doc/diff.txt')
-rw-r--r--runtime/doc/diff.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index 0b4edb927..566411a1f 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -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