Skip to content

Commit 8776889

Browse files
committed
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.
1 parent 0b565e5 commit 8776889

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

runtime/optwin.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" These commands create the option window.
22
"
33
" Maintainer: Bram Moolenaar <Bram@vim.org>
4-
" Last Change: 2018 Apr 18
4+
" Last Change: 2018 May 15
55

66
" If there already is an option window, jump to that one.
77
let buf = bufnr('option-window')
@@ -325,7 +325,8 @@ call <SID>OptionL("scr")
325325
call append("$", "scrolloff\tnumber of screen lines to show around the cursor")
326326
call append("$", " \tset so=" . &so)
327327
call append("$", "wrap\tlong lines wrap")
328-
call <SID>BinOptionG("wrap", &wrap)
328+
call append("$", "\t(local to window)")
329+
call <SID>BinOptionL("wrap")
329330
call append("$", "linebreak\twrap long lines at a character in 'breakat'")
330331
call append("$", "\t(local to window)")
331332
call <SID>BinOptionL("lbr")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1843,
764766
/**/
765767
1842,
766768
/**/

0 commit comments

Comments
 (0)