aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/api_functions_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-05 04:28:14 +0800
committerGitHub <noreply@github.com>2022-07-04 13:28:14 -0700
commit826fe56f5cf30a823dc627b8a710174d04004cef (patch)
tree51bbea0e951123baac79eafee533a677a7d577e7 /test/functional/vimscript/api_functions_spec.lua
parent1803b0ffd7f08b50a3f59272ebe7290ffd21e90f (diff)
downloadrneovim-826fe56f5cf30a823dc627b8a710174d04004cef.tar.gz
rneovim-826fe56f5cf30a823dc627b8a710174d04004cef.tar.bz2
rneovim-826fe56f5cf30a823dc627b8a710174d04004cef.zip
fix(mark): mark without a view restores at topline #19224
For a local mark without a view, currently trying to restore its view will put the cursor at topline, which is not the correct behavior. Initialize `topline_offset` to `MAXLNUM` instead to fix this.
Diffstat (limited to 'test/functional/vimscript/api_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions