mirror of
https://github.com/neovim/neovim.git
synced 2026-08-25 00:21:55 +00:00
Problem: The cursor line number becomes negative when using :z^ in an empty
buffer. (neovim vim/vim#6557)
Solution: Correct the line number. Also reset the column.
a364cdb648
Co-authored-by: Bram Moolenaar <Bram@vim.org>