aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-19 05:45:25 +0800
committerGitHub <noreply@github.com>2024-04-19 05:45:25 +0800
commit13ebfafc958c6feb4d908eed913c6dc3c6f05b4e (patch)
treee79a9eeebde952d737a791b2efb00d09692bdce9 /src
parentc791aa8aaeb11e5cd24f8579ca6fbe0d59d0fc90 (diff)
downloadrneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.tar.gz
rneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.tar.bz2
rneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/getchar.c1
1 files changed, 1 insertions, 0 deletions
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];