diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-21 07:55:07 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-21 07:55:07 +0200 |
commit | 7002c055d560ae0b3bb1e24ad409390a5443daad (patch) | |
tree | 7fbe2a93064f0f16179cde3d6eb22d3606398805 /src/insexpand.c | |
parent | bc6f96708e3678dbb27ec4192d87cf94a15d4e9a (diff) |
patch 9.1.0512: Mode message for spell completion doesn't match allowed keysv9.1.0512
Problem: Mode message for spell completion doesn't match allowed keys
(Kyle Kovacs)
Solution: Show "^S" instead of "s".
(zeertzjq)
This matches the code in vim_is_ctrl_x_key():
case CTRL_X_SPELL:
return (c == Ctrl_S || c == Ctrl_P || c == Ctrl_N);
fixes: neovim/neovim#29431
closes: #15065
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 78fea51272..01fa6de83d 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -58,7 +58,7 @@ static char *ctrl_x_msgs[] = N_(" Command-line completion (^V^N^P)"), N_(" User defined completion (^U^N^P)"), N_(" Omni completion (^O^N^P)"), - N_(" Spelling suggestion (s^N^P)"), + N_(" Spelling suggestion (^S^N^P)"), N_(" Keyword Local completion (^N^P)"), NULL, // CTRL_X_EVAL doesn't use msg. N_(" Command-line completion (^V^N^P)"), |