diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-15 21:42:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-15 21:42:51 +0200 |
commit | 8776889b5befd8eba66f4ad32282db36f85392a6 (patch) | |
tree | 3f684a237562e802467cb7f9662da553a6a51677 /runtime | |
parent | 0b565e5da5c05890c2008b18bb5262638bf804f2 (diff) | |
download | vim-git-8776889b5befd8eba66f4ad32282db36f85392a6.tar.gz |
patch 8.0.1843: entry for 'wrap' in options window is wrongv8.0.1843
Problem: Entry for 'wrap' in options window is wrong. (John Little)
Solution: Make the change apply locally.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/optwin.vim | 5 |
1 files changed, 3 insertions, 2 deletions
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 <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") |