mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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.
8776889b5b
This commit is contained in:
parent
3736f14896
commit
64b44018fa
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user