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/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt
index a4dee26..1271bb6 100644
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -3868,7 +3868,7 @@
netrw-safe guioptions
Nov 15, 2021 * removed netrw_localrm and netrw_localrmdir
references
- Aug 18, 2022 * (Miguel Barro) improving compatability with
+ Aug 18, 2022 * (Miguel Barro) improving compatibility with
powershell
v171: Oct 09, 2020 * included code in s:NetrwOptionsSafe()
to allow |'bh'| to be set to delete when
@@ -4099,7 +4099,7 @@
The "<nowait>" modifier has been included
with most of netrw's mappings to avoid that
delay.
- Jun 26, 2015 * |netrw-gn| mapping implemted
+ Jun 26, 2015 * |netrw-gn| mapping implemented
* :Ntree NotADir resulted in having
the tree listing expand in the error messages
window. Fixed.
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index ea5f01d..dc05166 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1349,7 +1349,7 @@
Additional arguments can be passed to groff by setting them in
`b:groff_compiler_args` or `g:groff_compiler_args`. The `language` argument
passed to groff is set using 'spelllang'; it can be overridden by setting
-`b:groff_compiler_lang`. The default enconding is `UTF-8` and can be changed
+`b:groff_compiler_lang`. The default encoding is `UTF-8` and can be changed
by setting `b:groff_compiler_encoding` or `g:groff_compiler_encoding`.
PANDOC *quickfix-pandoc* *compiler-pandoc*
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index 94e662d..147f345 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -41620,7 +41620,7 @@
Autocommands: ~
-|CursorMovedC| after the cursor was moved in the comamnd-line
+|CursorMovedC| after the cursor was moved in the command-line
|KeyInputPre| before processing any key event in any mode
|SessionWritePost| after writing the session file |:mksession|
|TermResponseAll| after the terminal response to |t_RV| and others is
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.