patch 8.0.1843: entry for 'wrap' in options window is wrong v8.0.1843
authorBram Moolenaar <Bram@vim.org>
Tue, 15 May 2018 19:42:51 +0000 (21:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 May 2018 19:42:51 +0000 (21:42 +0200)
Problem:    Entry for 'wrap' in options window is wrong. (John Little)
Solution:   Make the change apply locally.

runtime/optwin.vim
src/version.c

index f279529042e9573878027f5f1b141d22f01a36bf..cd1bea0cb24a6657153a9e8cd7da89ca481dd229 100644 (file)
@@ -1,7 +1,7 @@
 " These commands create the option window.
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" 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 <SID>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 <SID>BinOptionG("wrap", &wrap)
+call append("$", "\t(local to window)")
+call <SID>BinOptionL("wrap")
 call append("$", "linebreak\twrap long lines at a character in 'breakat'")
 call append("$", "\t(local to window)")
 call <SID>BinOptionL("lbr")
index af967d156f071dd2dd494e87da813e1c2c0f99f4..788ba2462e4dee68c95d2b9d826a9a981cabdbaa 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1843,
 /**/
     1842,
 /**/