]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.2078: A few more typos in various files v9.1.2078
authorzeertzjq <zeertzjq@outlook.com>
Sun, 11 Jan 2026 18:59:51 +0000 (18:59 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 11 Jan 2026 18:59:51 +0000 (18:59 +0000)
Problem:  A few more typos in various files
Solution: Fix those (zeertzjq, antonkesy)

related: neovim/neovim#37348
closes:  #19153

Co-authored-by: Anton Kesy <anton@kesy.de>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 files changed:
runtime/autoload/dist/ft.vim
runtime/autoload/dist/vim.vim
runtime/filetype.vim
runtime/pack/dist/opt/netrw/README.md
runtime/syntax/generator/vim.vim.base
runtime/syntax/vim.vim
src/diff.c
src/testdir/test_listener.vim
src/testdir/test_vim9_disassemble.vim
src/testdir/test_window_cmd.vim
src/version.c
src/vim9compile.c
src/vim9generics.c

index 20c8d2ec89322286c7982ad36e33698947ac2282..0a65aa90850575eeb1a91fcffb8692275c32cc1d 100644 (file)
@@ -3,7 +3,7 @@ vim9script
 # Vim functions for file type detection
 #
 # Maintainer:          The Vim Project <https://github.com/vim/vim>
-# Last Change:         2026 Jan 06
+# Last Change:         2026 Jan 11
 # Former Maintainer:   Bram Moolenaar <Bram@vim.org>
 
 # These functions are moved here from runtime/filetype.vim to make startup
@@ -98,7 +98,7 @@ export def FTasmsyntax()
       b:asmsyntax = "masm"
       return
     elseif line =~ 'Texas Instruments Incorporated' || (line =~ '^\*' && !is_slash_star_encountered)
-      # tiasm uses `* commment`, but detection is unreliable if '/*' is seen
+      # tiasm uses `* comment`, but detection is unreliable if '/*' is seen
       b:asmsyntax = "tiasm"
       return
     elseif ((line =~? '\.title\>\|\.ident\>\|\.macro\>\|\.subtitle\>\|\.library\>'))
@@ -1506,7 +1506,7 @@ export def FTdsp()
 
   # Test the file contents
   for line in getline(1, 200)
-    # Chech for comment style
+    # Check for comment style
     if line =~ '^#.*'
       setf make
       return
index 1632aed2b6082ab3e5acef62f866f47ca5f19769..5a0f350537440f1be16903d4f471513d2d27782e 100644 (file)
@@ -1,9 +1,9 @@
 " Vim runtime support library,
 " runs the Vim9 script version or legacy script version
-" on demand (mostly for Neovim compatability)
+" on demand (mostly for Neovim compatibility)
 "
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Apr 27
+" Last Change: 2026 Jan 11
 
 
 " enable the zip and gzip plugin by default, if not set
index b6e4ac1bcac4607c1fad0582001f76e5d8642a20..da5340a320f934441ead4cc3db5cf0c085dd77b1 100644 (file)
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:          The Vim Project <https://github.com/vim/vim>
-" Last Change:         2026 Jan 02
+" Last Change:         2026 Jan 11
 " Former Maintainer:   Bram Moolenaar <Bram@vim.org>
 
 " If the filetype can be detected from extension or file name(the final path component),
@@ -1317,7 +1317,7 @@ au BufNewFile,BufRead *.dtml,*.pt,*.cpt           call dist#ft#FThtml()
 "   zsql (zope sql method)
 au BufNewFile,BufRead *.zsql                   call dist#ft#SQL()
 
-" Detect by extention
+" Detect by extension
 au BufNewFile,BufRead *                                call dist#ft#DetectFromExt()
 augroup END
 
index ecd97f1e9a4bde0dcf0d7a665ad050ca68f73561..3677cf6cda124098cd2623fbefe8f513ca564b65 100644 (file)
@@ -11,7 +11,7 @@ upstream for distribution with Vim.
 
 # License
 
-To see License informations see the LICENSE.txt file included in this
+To see License information see the LICENSE.txt file included in this
 repository.
 
 # Credits
index ecb0b5c0247c5379dfefc9779925b9512f30bf7e..afde79fbbc8111bfc93b3de1d73a0da4351ef930 100644 (file)
@@ -753,7 +753,7 @@ if s:vim9script
   " FIXME: don't match as dictionary keys, remove when operators are not
   "        shared between Vim9 and legacy script
   syn match    vim9This                contained       "\.\@1<!\<this\>:\@!"
-  " super must be folowed by '.'
+  " super must be followed by '.'
   syn match    vim9Super               contained       "\.\@1<!\<super\.\@="
 
   VimFoldc syn region  vim9ClassBody   start="\<class\>" matchgroup=vimCommand end="\<endclass\>" contains=@vim9ClassBodyList transparent
index 7f6c38e01172c3aa9ebf6815ac642cf534ffbac6..03f466c46e31bceb31b545c5972085500e3f0b53 100644 (file)
@@ -808,7 +808,7 @@ if s:vim9script
   " FIXME: don't match as dictionary keys, remove when operators are not
   "        shared between Vim9 and legacy script
   syn match    vim9This                contained       "\.\@1<!\<this\>:\@!"
-  " super must be folowed by '.'
+  " super must be followed by '.'
   syn match    vim9Super               contained       "\.\@1<!\<super\.\@="
 
   VimFoldc syn region  vim9ClassBody   start="\<class\>" matchgroup=vimCommand end="\<endclass\>" contains=@vim9ClassBodyList transparent
index 5f5376133e8f5721fc24b1a49f7286520b1ec05b..79c6e3255ec10e72127a939db19e27932d880ea5 100644 (file)
@@ -52,7 +52,7 @@ static long diff_algorithm = XDF_INDENT_HEURISTIC;
 
 #define LBUFLEN 50             // length of line in diff file
 
-// Max file size xdiff is eqipped to deal with. The value (1GB - 1MB) comes
+// Max file size xdiff is equipped to deal with. The value (1GB - 1MB) comes
 // from Git's implementation.
 #define MAX_XDIFF_SIZE (1024L * 1024 * 1023)
 
index d3475cbc45483e5058f7230a5a5040e10e505387..91f0db2a15e344de7e556ca5195bc24e247b61d0 100644 (file)
@@ -777,7 +777,7 @@ endfunc
 func s:OnRedraw()
 endfunc
 
-" Test if partial is correctly ref'ed and doesn't cause use afte free error
+" Test if partial is correctly ref'ed and doesn't cause use after free error
 func Test_redraw_listener_partial()
   call redraw_listener_add(#{on_start: function("s:OnRedraw", [1])})
 endfunc
index f48f7a23c100fcd5845d3e0e0be056a2e0c23f8e..83499999da5539ba1c7dcea66ad60dbd237dc549 100644 (file)
@@ -3808,7 +3808,7 @@ def Test_disassemble_tuple_concatenate()
   unlet g:instr
 enddef
 
-" Disassemble the code generated for a constant tupe
+" Disassemble the code generated for a constant tuple
 def Test_disassemble_tuple_const()
   var lines =<< trim END
     vim9script
index 2841a31278779e22fad5636d550f7ccceca6c315..02e6fcbc32452d780f1dbb1eac5f88732a3e081c 100644 (file)
@@ -1913,7 +1913,7 @@ func Test_splitkeep_cmdwin_cursor_position()
   set splitkeep=screen
   call setline(1, range(&lines))
 
-  " No scroll when cursor is at near bottom of window and cusor position
+  " No scroll when cursor is at near bottom of window and cursor position
   " recompution (done by line('w0') in this test) happens while in cmdwin.
   normal! G
   let firstline = line('w0')
index fa5419db82047abf004a71d2de9f174b7f6ccd8c..0e048c40f7fb7afa19844c6911a567c420392e44 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2078,
 /**/
     2077,
 /**/
index b80eb346e26a32910740058311deaca5dc5613fe..c9976160e4581ee734d9e8e65b9208f147a2e22f 100644 (file)
@@ -1098,7 +1098,7 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx, garray_T *lines_to_free)
     fill_exarg_from_cctx(eap, cctx);
 
     eap->forceit = FALSE;
-    // We use the special <Lamba>99 name, but it's not really a lambda.
+    // We use the special <lambda>99 name, but it's not really a lambda.
     lambda_name = get_lambda_name();
     lambda_name.string = vim_strnsave(lambda_name.string, lambda_name.length);
     if (lambda_name.string == NULL)
index 9820654263ee0c3b1b2773e97279f2e5d6980941..86802c2014b1493856fc7de2e406b8936aeedd7f 100644 (file)
@@ -572,7 +572,7 @@ parse_generic_func_type_params(
        return NULL;
     }
 
-    // set the generic parms to VAR_ANY type
+    // set the generic params to VAR_ANY type
     if (ga_grow(&gfatab->gfat_param_types, gfat_sz) == FAIL)
        return NULL;