changeset 36207:052dd63995bd v9.1.0747

patch 9.1.0747: various typos in repo found Commit: https://github.com/vim/vim/commit/8feed3a52548591b2eaef66f4d53e1a49b2dabe5 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Sep 29 10:37:47 2024 +0200 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>
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Sep 2024 10:45:03 +0200
parents 80ce0b180f69
children 20eedf0cb11d
files runtime/doc/pi_netrw.txt runtime/doc/quickfix.txt runtime/doc/version9.txt src/option.c src/testdir/commondumps.vim src/testdir/test_listdict.vim src/testdir/test_normal.vim src/version.c src/window.c
diffstat 9 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -3868,7 +3868,7 @@ 12. History						*netrw-history* {{{1
 				  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 @@ 12. History						*netrw-history* {{{1
 				  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.
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1349,7 +1349,7 @@ make, say :make html or :make pdf.
 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*
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -41620,7 +41620,7 @@ Functions: ~
 
 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
--- a/src/option.c
+++ b/src/option.c
@@ -186,7 +186,7 @@ set_init_default_backupskip(void)
 	    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;
 
--- a/src/testdir/commondumps.vim
+++ b/src/testdir/commondumps.vim
@@ -23,7 +23,7 @@ enddef
 
 # 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)
--- a/src/testdir/test_listdict.vim
+++ b/src/testdir/test_listdict.vim
@@ -1621,7 +1621,7 @@ endfunc
 
 " 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}
--- a/src/testdir/test_normal.vim
+++ b/src/testdir/test_normal.vim
@@ -4274,7 +4274,7 @@ func Test_halfpage_longline()
 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
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    747,
+/**/
     746,
 /**/
     745,
--- a/src/window.c
+++ b/src/window.c
@@ -4609,7 +4609,7 @@ free_tabpage(tabpage_T *tp)
  * 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.