aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-12 21:55:07 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-10-12 21:55:53 -0400
commit64b44018fa17486fcc1e8b4121e42ab7e8008605 (patch)
treefe8be5e862a2f2c505a0a7d44ed4bb307795b13b
parent3736f14896c053bcd72a6fe0469b86f86dc28d1a (diff)
downloadrneovim-64b44018fa17486fcc1e8b4121e42ab7e8008605.tar.gz
rneovim-64b44018fa17486fcc1e8b4121e42ab7e8008605.tar.bz2
rneovim-64b44018fa17486fcc1e8b4121e42ab7e8008605.zip
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. https://github.com/vim/vim/commit/8776889b5befd8eba66f4ad32282db36f85392a6
-rw-r--r--runtime/optwin.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index c081b3a6b3..151f8907d6 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2018 Feb 27
+" 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")