diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-12-07 10:17:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-07 02:17:36 +0000 |
commit | ec94c2704f5059794923777ed51412d80bd26b5b (patch) | |
tree | 5e75aa7277274401f475e3eb1ccc711b7cd2ddc8 /src/nvim/normal.c | |
parent | 517ecb85f58ed6ac8b4d5443931612e75e7c7dc2 (diff) | |
download | rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.tar.gz rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.tar.bz2 rneovim-ec94c2704f5059794923777ed51412d80bd26b5b.zip |
vim-patch:9.1.0908: not possible to configure :messages (#31492)
Problem: not possible to configure :messages
Solution: add the 'messagesopt' option (Shougo Matsushita)
closes: vim/vim#16068
https://github.com/vim/vim/commit/51d4d84d6a7159c6ce9e04b36f8edc105ca3794b
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Co-authored-by: h_east <h.east.727@gmail.com>
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index ba84380529..92a6068c5a 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -812,7 +812,7 @@ static void normal_get_additional_char(NormalState *s) // There is a busy wait here when typing "f<C-\>" and then // something different from CTRL-N. Can't be avoided. while ((s->c = vpeekc()) <= 0 && towait > 0) { - do_sleep(towait > 50 ? 50 : towait); + do_sleep(towait > 50 ? 50 : towait, false); towait -= 50; } if (s->c > 0) { @@ -5561,7 +5561,7 @@ static void nv_g_cmd(cmdarg_T *cap) // "gs": Goto sleep. case 's': - do_sleep(cap->count1 * 1000); + do_sleep(cap->count1 * 1000, false); break; // "ga": Display the ascii value of the character under the |