aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/popupmenu.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-21 20:50:46 +0800
committerGitHub <noreply@github.com>2023-01-21 20:50:46 +0800
commit0f52e2c849cbd923fc30b8bbef088b6f7642aeab (patch)
tree42533e601b3b4d9a4d49c229ef6f6ae174f89716 /src/nvim/popupmenu.c
parentfb805bb8b791b0266072b2415651cb54020d5098 (diff)
downloadrneovim-0f52e2c849cbd923fc30b8bbef088b6f7642aeab.tar.gz
rneovim-0f52e2c849cbd923fc30b8bbef088b6f7642aeab.tar.bz2
rneovim-0f52e2c849cbd923fc30b8bbef088b6f7642aeab.zip
vim-patch:8.2.0382: some tests fail when run under valgrind (#21936)
Problem: Some tests fail when run under valgrind. Solution: Increase timeouts. https://github.com/vim/vim/commit/353c351bd22e4dac4c3ae9cd7731032348f248c4 Cherry-pick Test_pum_with_preview_win() from patch 8.2.0011. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/popupmenu.c')
-rw-r--r--src/nvim/popupmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/popupmenu.c b/src/nvim/popupmenu.c
index b97a25dd0b..245ce87865 100644
--- a/src/nvim/popupmenu.c
+++ b/src/nvim/popupmenu.c
@@ -824,7 +824,7 @@ static bool pum_set_selected(int n, int repeat)
// When the preview window was resized we need to
// update the view on the buffer. Only go back to
// the window when needed, otherwise it will always be
- // redraw.
+ // redrawn.
if (resized) {
no_u_sync++;
win_enter(curwin_save, true);