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/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