Mercurial > vim
changeset 13946:c2312fc9fbfe v8.0.1843
patch 8.0.1843: entry for 'wrap' in options window is wrong
commit https://github.com/vim/vim/commit/8776889b5befd8eba66f4ad32282db36f85392a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 15 21:42:51 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 May 2018 21:45:06 +0200 |
parents | 30691ca7a38e |
children | f50511179eee |
files | runtime/optwin.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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")