diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:24:44 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:25:48 +0800 |
commit | 00ad0c81b6868ae5490668741be9a06d6a6627b0 (patch) | |
tree | 168678ff20543558b7639efad6452401b385de5b /runtime/lua/vim/_meta/vimfn.lua | |
parent | bd9a9e63bc8d58beb5ab4b9564ba17b63f60200f (diff) | |
download | rneovim-00ad0c81b6868ae5490668741be9a06d6a6627b0.tar.gz rneovim-00ad0c81b6868ae5490668741be9a06d6a6627b0.tar.bz2 rneovim-00ad0c81b6868ae5490668741be9a06d6a6627b0.zip |
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 (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions