mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
Merge pull request #29782 from neovim/backport-29775-to-release-0.10
vim-patch:9.1.0594: Unnecessary redraw when setting 'winfixbuf'
This commit is contained in:
@ -9840,7 +9840,6 @@ return {
|
||||
]=],
|
||||
full_name = 'winfixbuf',
|
||||
pv_name = 'p_wfb',
|
||||
redraw = { 'current_window' },
|
||||
scope = { 'window' },
|
||||
short_desc = N_('pin a window to a specific buffer'),
|
||||
type = 'boolean',
|
||||
|
@ -321,14 +321,14 @@ func Test_set_options_keep_col()
|
||||
let pos = getcurpos()
|
||||
normal j
|
||||
set invhlsearch spell spelllang=en,cjk spelloptions=camel textwidth=80
|
||||
set cursorline cursorcolumn cursorlineopt=line colorcolumn=+1
|
||||
set cursorline cursorcolumn cursorlineopt=line colorcolumn=+1 winfixbuf
|
||||
set background=dark
|
||||
set background=light
|
||||
normal k
|
||||
call assert_equal(pos, getcurpos())
|
||||
bwipe!
|
||||
set hlsearch& spell& spelllang& spelloptions& textwidth&
|
||||
set cursorline& cursorcolumn& cursorlineopt& colorcolumn&
|
||||
set cursorline& cursorcolumn& cursorlineopt& colorcolumn& winfixbuf&
|
||||
set background&
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user