vim-patch:9.1.1685: Missing changes from PR 18068 (#35482)

Problem:  Missing changes from PR 18068
Solution: Include the missing changes
          (Girish Palya)

c6a0f42cdb

Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
zeertzjq
2025-08-26 07:24:21 +08:00
committed by GitHub
parent 516363e6ba
commit 821bfc02fb
3 changed files with 12 additions and 4 deletions

View File

@@ -356,7 +356,7 @@ void ins_ctrl_x(void)
{
if (!ctrl_x_mode_cmdline()) {
// if the next ^X<> won't ADD nothing, then reset compl_cont_status
if ((compl_cont_status & CONT_N_ADDS) && !p_ac) {
if (compl_cont_status & CONT_N_ADDS) {
compl_cont_status |= CONT_INTRPT;
} else {
compl_cont_status = 0;