mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.0.1479: insert mode completion state is confusing
Problem: Insert mode completion state is confusing. Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
This commit is contained in:
@@ -2115,7 +2115,8 @@ vgetorpeek(int advance)
|
||||
&& State != ASKMORE
|
||||
&& State != CONFIRM
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
&& !((ctrl_x_mode != 0 && vim_is_ctrl_x_key(c1))
|
||||
&& !((ctrl_x_mode_not_default()
|
||||
&& vim_is_ctrl_x_key(c1))
|
||||
|| ((compl_cont_status & CONT_LOCAL)
|
||||
&& (c1 == Ctrl_N || c1 == Ctrl_P)))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user