summaryrefslogtreecommitdiffstats
path: root/src/insexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/insexpand.c')
-rw-r--r--src/insexpand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insexpand.c b/src/insexpand.c
index 31b952bf59..e42819a18d 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -1612,7 +1612,7 @@ ins_compl_new_leader(void)
#ifdef FEAT_SPELL
spell_bad_len = 0; // need to redetect bad word
#endif
- // Matches were cleared, need to search for them now. Befor drawing
+ // Matches were cleared, need to search for them now. Before drawing
// the popup menu display the changed text before the cursor. Set
// "compl_restarting" to avoid that the first match is inserted.
pum_call_update_screen();
@@ -2858,7 +2858,7 @@ ins_compl_get_exp(pos_T *ini)
// Buffers other than curbuf are scanned from the beginning or the
// end but never from the middle, thus setting nowrapscan in this
- // buffers is a good idea, on the other hand, we always set
+ // buffer is a good idea, on the other hand, we always set
// wrapscan for curbuf to avoid missing matches -- Acevedo,Webb
save_p_ws = p_ws;
if (ins_buf != curbuf)