diff src/insexpand.c @ 18498:9e6d5a4abb1c v8.1.2243

patch 8.1.2243: typos in comments Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 22:54:41 2019 +0100 patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust formatting a bit.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 23:00:06 +0100
parents 34d5cd432cac
children bbea1f108187
line wrap: on
line diff
--- 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)