From: Bram Moolenaar Date: Tue, 15 May 2018 19:42:51 +0000 (+0200) Subject: patch 8.0.1843: entry for 'wrap' in options window is wrong X-Git-Tag: v8.0.1843 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8776889b5befd8eba66f4ad32282db36f85392a6;p=vim patch 8.0.1843: entry for 'wrap' in options window is wrong Problem: Entry for 'wrap' in options window is wrong. (John Little) Solution: Make the change apply locally. --- diff --git a/runtime/optwin.vim b/runtime/optwin.vim index f27952904..cd1bea0cb 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar -" Last Change: 2018 Apr 18 +" Last Change: 2018 May 15 " If there already is an option window, jump to that one. let buf = bufnr('option-window') @@ -325,7 +325,8 @@ call OptionL("scr") call append("$", "scrolloff\tnumber of screen lines to show around the cursor") call append("$", " \tset so=" . &so) call append("$", "wrap\tlong lines wrap") -call BinOptionG("wrap", &wrap) +call append("$", "\t(local to window)") +call BinOptionL("wrap") call append("$", "linebreak\twrap long lines at a character in 'breakat'") call append("$", "\t(local to window)") call BinOptionL("lbr") diff --git a/src/version.c b/src/version.c index af967d156..788ba2462 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1843, /**/ 1842, /**/