mirror of
https://github.com/neovim/neovim.git
synced 2026-06-17 09:11:21 +00:00
vim-patch:9.1.0512: Mode message for spell completion doesn't match allowed keys (#29437)
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: vim/vim#15065
7002c055d5
(cherry picked from commit 1db1476fd9)
This commit is contained in:
committed by
github-actions[bot]
parent
3b8d0721af
commit
259a620eb8
@@ -121,7 +121,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)"),
|
||||
|
||||
Reference in New Issue
Block a user