aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2023-04-27 17:51:47 +0200
committerLuuk van Baal <luukvbaal@gmail.com>2023-05-02 13:11:47 +0200
commita2f3855291a59254346545f9699084fe4fece31f (patch)
tree3215823577c97a86caa081ac19e438a3955f8634 /test/functional
parent5e4df766f6e428659221f8eae144e9ed18574f8d (diff)
downloadrneovim-a2f3855291a59254346545f9699084fe4fece31f.tar.gz
rneovim-a2f3855291a59254346545f9699084fe4fece31f.tar.bz2
rneovim-a2f3855291a59254346545f9699084fe4fece31f.zip
vim-patch:9.0.0893: 'smoothscroll' cursor calculations wrong when 'number' is set
Problem: 'smoothscroll' cursor calculations wrong when 'number' is set. Solution: Correct the code that computes the width. (closes vim/vim#11492) https://github.com/vim/vim/commit/01ee52bab6041450095c53f9469b1b266a7e3d4d Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/scroll_opt_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/legacy/scroll_opt_spec.lua b/test/functional/legacy/scroll_opt_spec.lua
index 42d8f31d3c..8f0286771a 100644
--- a/test/functional/legacy/scroll_opt_spec.lua
+++ b/test/functional/legacy/scroll_opt_spec.lua
@@ -279,8 +279,8 @@ describe('smoothscroll', function()
]])
exec('call DoRel()')
screen:expect([[
- 2<<<ong text very long text very lon^g te|
- xt very long text very long text ver|
+ 2<<<ong text very long text very long te|
+ ^xt very long text very long text ver|
y long text very long text very long|
text very long text very long text |
1 three |