diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-25 11:17:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 11:17:29 +0800 |
commit | ee02141c7b8a2dd1a87fe4bfc743f39750c99249 (patch) | |
tree | 0eb53db012b149e0db32770473187f2bec10ce76 /src/nvim/getchar.c | |
parent | 674d3b2d5f5f7ade20cbd88ed64d63a80bb7b302 (diff) | |
parent | b1833bb33b49a26e7552548e3541ac1480fee452 (diff) | |
download | rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.gz rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.bz2 rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.zip |
Merge pull request #19937 from zeertzjq/vim-8.2.3942
vim-patch:8.2.{3942,partial:4001}
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 8a8efbc578..36ca31783e 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1881,7 +1881,7 @@ static bool at_ins_compl_key(void) c = p[3] & 0x1f; } return (ctrl_x_mode_not_default() && vim_is_ctrl_x_key(c)) - || ((compl_cont_status & CONT_LOCAL) && (c == Ctrl_N || c == Ctrl_P)); + || (compl_status_local() && (c == Ctrl_N || c == Ctrl_P)); } /// Check if typebuf.tb_buf[] contains a modifier plus key that can be changed |