neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 00ad0c81b6868ae5490668741be9a06d6a6627b0
parent bd9a9e63bc8d58beb5ab4b9564ba17b63f60200f
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 21 Aug 2023 16:24:44 +0800

vim-patch:9.0.0077: wrong restored cursor position when switching window in autocmd

Problem:    When switching window in autocmd the restored cursor position may
            be wrong.
Solution:   Do not restore the cursor if it was not set. (closes vim/vim#10775)

https://github.com/vim/vim/commit/b03950fafa07e8b8d975eeb345ad08b8b62e67ce

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/test_autocmd.vim | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim @@ -2962,7 +2962,6 @@ endfunc func Test_autocmd_SafeState() CheckRunVimInTerminal - let g:test_is_flaky = 1 let lines =<< trim END let g:safe = 0