aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-13 07:10:17 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-13 07:10:17 -0400
commit3462acbbff7a56abf7abc1393e6b212332adecdb (patch)
tree2b4c0b04d111f9053d143bbb528650c70a9605c2 /src
parent3e0188e92d9a4d359b501b3d431bfa7a79587679 (diff)
downloadrneovim-3462acbbff7a56abf7abc1393e6b212332adecdb.tar.gz
rneovim-3462acbbff7a56abf7abc1393e6b212332adecdb.tar.bz2
rneovim-3462acbbff7a56abf7abc1393e6b212332adecdb.zip
lint
Diffstat (limited to 'src')
-rw-r--r--src/nvim/edit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index fde5ec2106..ccb5d6bac8 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -3988,10 +3988,11 @@ static int ins_compl_get_exp(pos_T *ini)
p_ws = save_p_ws;
}
- /* check if compl_curr_match has changed, (e.g. other type of
- * expansion added something) */
- if (type != 0 && compl_curr_match != compl_old_match)
+ // check if compl_curr_match has changed, (e.g. other type of
+ // expansion added something)
+ if (type != 0 && compl_curr_match != compl_old_match) {
found_new_match = OK;
+ }
/* break the loop for specialized modes (use 'complete' just for the
* generic l_ctrl_x_mode == 0) or when we've found a new match */