From 13ebfafc958c6feb4d908eed913c6dc3c6f05b4e Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 19 Apr 2024 05:45:25 +0800 Subject: vim-patch:9.1.0351: No test that completing a partial mapping clears 'showcmd' (#28406) Problem: No test that completing a partial mapping clears 'showcmd'. Solution: Complete partial mappings in Test_showcmd_part_map() instead of using :echo. Adjust some comments (zeertzjq). closes: vim/vim#14580 https://github.com/vim/vim/commit/094c4390bdf3473fab122aa02883e63ce4e66cdb --- src/nvim/getchar.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 8d570b4b2d..66c7e848be 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -64,6 +64,7 @@ #include "nvim/undo.h" #include "nvim/vim_defs.h" +/// State for adding bytes to a recording or 'showcmd'. typedef struct { int prev_c; uint8_t buf[MB_MAXBYTES * 3 + 4]; -- cgit