aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/insexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c
index 3d8e083a95..b0fa9146f1 100644
--- a/src/nvim/insexpand.c
+++ b/src/nvim/insexpand.c
@@ -1296,7 +1296,7 @@ static int ins_compl_build_pum(void)
compl_shown_match = comp;
}
}
- if (!shown_match_ok && comp == compl_shown_match && !compl_no_select) {
+ if (!shown_match_ok && comp == compl_shown_match) {
cur = i;
shown_match_ok = true;
}