aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/decorations_spec.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-04-22 15:24:32 +0200
committerGitHub <noreply@github.com>2024-04-22 21:24:32 +0800
commitea1c9f60e04429e8472370b59616d069ad7fbc8c (patch)
tree29c08d6e52d907acc96dd548bbb8302153a535c3 /test/functional/ui/decorations_spec.lua
parent783b0aba411618c27cae48625f0f98e0cb503758 (diff)
downloadrneovim-ea1c9f60e04429e8472370b59616d069ad7fbc8c.tar.gz
rneovim-ea1c9f60e04429e8472370b59616d069ad7fbc8c.tar.bz2
rneovim-ea1c9f60e04429e8472370b59616d069ad7fbc8c.zip
vim-patch:9.1.0357: Page scrolling should place cursor at window boundaries (#28429)
Problem: Page scrolling does not always place the cursor at the top or bottom of the window (Mathias Rav) Solution: Place the cursor at the top or bottom of the window. (Luuk van Baal) https://github.com/vim/vim/commit/4b6b0c4024df08dd8ce49dff3c76356ff81190c4
Diffstat (limited to 'test/functional/ui/decorations_spec.lua')
-rw-r--r--test/functional/ui/decorations_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/decorations_spec.lua b/test/functional/ui/decorations_spec.lua
index eea62140ce..4e7245c166 100644
--- a/test/functional/ui/decorations_spec.lua
+++ b/test/functional/ui/decorations_spec.lua
@@ -4268,7 +4268,7 @@ if (h->n_buckets < new_n_buckets) { // expand
screen:expect{grid=[[
{16:refactor(khash): }take size of values as parameter |
Author: Dev Devsson, {18:Tue Aug 31 10:13:37 2021} |
- ^if (h->n_buckets < new_n_buckets) { // expand |
+ if (h->n_buckets < new_n_buckets) { // expand |
khkey_t *new_keys = (khkey_t *)krealloc((void *)|
h->keys, new_n_buckets * sizeof(khkey_t)); |
h->keys = new_keys; |
@@ -4276,7 +4276,7 @@ if (h->n_buckets < new_n_buckets) { // expand
char *new_vals = krealloc( h->vals_buf, new_n_|
buckets * val_size); |
h->vals_buf = new_vals; |
- } |
+ ^} |
|
]]}
end)
@@ -4949,8 +4949,8 @@ if (h->n_buckets < new_n_buckets) { // expand
VIRT2 |
11 |
12 |
- ^13 |
- 14 |
+ 13 |
+ ^14 |
|
]])
feed('<C-B>')