patch 9.1.0747: various typos in repo found
Problem: various typos in repo found
Solution: Fix typos (zeertzjq)
closes: #15749
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/option.c b/src/option.c
index 4ee8d25..ee9502a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -186,7 +186,7 @@
item = alloc(itemsize);
if (item != NULL)
{
- // add a preceeding comma as a separator after the first item
+ // add a preceding comma as a separator after the first item
size_t itemseplen = (ga.ga_len == 0) ? 0 : 1;
size_t itemlen;
diff --git a/src/testdir/commondumps.vim b/src/testdir/commondumps.vim
index ed70280..cfe426c 100644
--- a/src/testdir/commondumps.vim
+++ b/src/testdir/commondumps.vim
@@ -23,7 +23,7 @@
# Search for the "failed" directory in the passed _subtreedirname_ directories
# (usually "\<src\>" or "\<syntax\>") and, if found, select its passed _count_
-# occurence, add all its "*.dump" files to the argument list and list them;
+# occurrence, add all its "*.dump" files to the argument list and list them;
# also define a BufRead autocommand that would invoke "Render()" for every
# "*.dump" file.
def g:Init(subtreedirname: string, count: number)
diff --git a/src/testdir/test_listdict.vim b/src/testdir/test_listdict.vim
index 48217cf..f3bdcd4 100644
--- a/src/testdir/test_listdict.vim
+++ b/src/testdir/test_listdict.vim
@@ -1621,7 +1621,7 @@
" Test for using id()
def Test_id_with_dict()
- # demonstate a way that "id(item)" differs from "string(item)"
+ # demonstrate a way that "id(item)" differs from "string(item)"
var d1 = {one: 1}
var d2 = {one: 1}
var d3 = {one: 1}
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim
index bd83051..32050ce 100644
--- a/src/testdir/test_normal.vim
+++ b/src/testdir/test_normal.vim
@@ -4274,7 +4274,7 @@
endfunc
" Test for Ctrl-E with long line and very narrow window,
-" used to cause an inifite loop
+" used to cause an infinite loop
func Test_scroll_longline_no_loop()
4vnew
setl smoothscroll number showbreak=> scrolloff=2
diff --git a/src/version.c b/src/version.c
index 10b0f86..80e7033 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 747,
+/**/
746,
/**/
745,
diff --git a/src/window.c b/src/window.c
index b2c90c7..db907f8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4609,7 +4609,7 @@
* Otherwise put it just before tab page "after".
*
* Does not trigger WinNewPre, since the window structures
- * are not completly setup yet and could cause dereferencing
+ * are not completely setup yet and could cause dereferencing
* NULL pointers
*
* Return FAIL or OK.