diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-10 18:08:59 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-10 18:20:02 -0500 |
commit | 81b4c881302640747de39f805312966c541acc47 (patch) | |
tree | 62c78074f611cb812eb630f6e1c88eeabeae06bd /runtime/doc/diff.txt | |
parent | 81c9cda296666f049a23d11700e8f0deb6835d7d (diff) | |
download | rneovim-81b4c881302640747de39f805312966c541acc47.tar.gz rneovim-81b4c881302640747de39f805312966c541acc47.tar.bz2 rneovim-81b4c881302640747de39f805312966c541acc47.zip |
vim-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 vim/vim#7797)
https://github.com/vim/vim/commit/4223d43c0fb6ead1e611e4469a1680a9228b6015
Diffstat (limited to 'runtime/doc/diff.txt')
-rw-r--r-- | runtime/doc/diff.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt index 2a972483ff..3544882ceb 100644 --- a/runtime/doc/diff.txt +++ b/runtime/doc/diff.txt @@ -48,7 +48,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 @@ -132,7 +132,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 |