]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Fix a few more typos
authorFelipe Matarazzo <felipemps@protonmail.com>
Mon, 4 May 2026 19:10:37 +0000 (19:10 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 4 May 2026 19:10:37 +0000 (19:10 +0000)
closes: #20135

Signed-off-by: Felipe Matarazzo <felipemps@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/ft_mp.txt
runtime/ftplugin/ptx.vim
runtime/ftplugin/readline.vim
runtime/indent/cdl.vim
runtime/indent/javascriptreact.vim
runtime/indent/rust.vim
runtime/indent/sh.vim
runtime/indent/stylus.vim
runtime/indent/typescriptreact.vim
src/normal.c
src/vim9cmds.c

index 7106edf98a8d4cf1b1f2123fce97482d5b962bd9..f4ea042576255a2c5f24c7692d80543089f10861 100644 (file)
@@ -1,4 +1,4 @@
-*ft_mp.txt*    For Vim version 9.2.  Last change: 2026 Feb 14
+*ft_mp.txt*    For Vim version 9.2.  Last change: 2026 May 04
 
 This is the documentation for the METAFONT and MetaPost filetype plugins.
 Unless otherwise specified, the commands, settings and mappings defined below
@@ -25,7 +25,7 @@ MetaPost documents, including syntax coloring, indentation, and completion.
 Defining indentation rules for METAFONT and MetaPost code is tricky and
 somewhat subjective, because the syntax is quite liberal. The plugin uses some
 heuristics that work well most of the time, but in particular cases you may
-want to to override the automatic rules, so that the manually defined
+want to override the automatic rules, so that the manually defined
 indentation is preserved by commands like `gg=G`.
 
 This can be achieved by appending `%>`, `%<`, `%=` or `%!` to a line to
index 12b127c8fc302d7935a50ad4fe0ac7993164816f..6e4c0f87a68aa16469546e2e6254046db8382062 100644 (file)
@@ -1,7 +1,8 @@
 " Vim filetype plugin file
-" Language:    Nvidia PTX (Parellel Thread Execution)
+" Language:    Nvidia PTX (Parallel Thread Execution)
 " Maintainer:  Yinzuo Jiang <jiangyinzuo@foxmail.com>
 " Last Change: 2024-12-05
+" 2026 May 04 by Vim Project: fix typo
 
 if exists("b:did_ftplugin")
   finish
index d0b6c2d65445b77f4776da2733107a4dd2049144..996b533b83a7cd506bda0395bdac57fcbec613c6 100644 (file)
@@ -4,6 +4,7 @@
 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
 " Last Change:         2024 Sep 19 (simplify keywordprg #15696)
 " 2024 Jul 22 by Vim project (use :hor term #17822)
+" 2026 May 04 by Vim Project: fix typo
 
 if exists("b:did_ftplugin")
   finish
@@ -26,7 +27,7 @@ if exists("loaded_matchit") && !exists("b:match_words")
 endif
 
 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
-  let b:browsefilter = "Readline Intialization Files (inputrc, .inputrc)\tinputrc;*.inputrc\n"
+  let b:browsefilter = "Readline Initialization Files (inputrc, .inputrc)\tinputrc;*.inputrc\n"
   if has("win32")
     let b:browsefilter ..= "All Files (*.*)\t*\n"
   else
index da675698cf718e07a4f89746f4e345fc6c36a265..63e4171ea69620e1a84d7214660ec503770dc88b 100644 (file)
@@ -2,6 +2,7 @@
 " Maintainer:  Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address)
 "              Doug Kearns <dougkearns@gmail.com>
 " Last Change: 2022 Apr 06
+" 2026 May 04 by Vim Project: fix typo
 
 if exists("b:did_indent")
     "finish
@@ -71,7 +72,7 @@ fun! CdlGetIndent(lnum)
   " One 'closing' element at the beginning of the line has already reduced the
   " indent, but 'else', 'elseif' & 'then' increment it for the next line.
   " '=' at the beginning already has the right indent (increased for
-  " asignments).
+  " assignments).
   let f = -1
   let inicio = matchend(line, '^\c\s*\(else\a*\|then\|endif\|/[*/]\|[);={]\)')
   if inicio > 0
index a3482097ee5b3e9cbd8bfe91800b688f26a2d4a6..5edb3f1d8ef370fc6cf07caccac1df236fe06736 100644 (file)
@@ -1,2 +1,2 @@
-" Placeholder for backwards compatilibity: .jsx used to stand for JavaScript.
+" Placeholder for backwards compatibility: .jsx used to stand for JavaScript.
 runtime! indent/javascript.vim
index f449a19de2b9fce4221874285fc0e9f4f69dba61..0fd05eb7cbee3ace53db4474597815dbc082133d 100644 (file)
@@ -4,8 +4,9 @@
 " Last Change:      2023-09-11
 " 2024 Jul 04 by Vim Project: use shiftwidth() instead of hard-coding shifted values #15138
 " 2025 Dec 29 by Vim Project: clean up
-" 2025 Dec 31 by Vim Project: correcly indent after nested array literal #19042
+" 2025 Dec 31 by Vim Project: correctly indent after nested array literal #19042
 " 2026 Jan 28 by Vim Project: fix indentation when a string literal contains 'if' #19265
+" 2026 May 04 by Vim Project: fix typo
 
 " For bugs, patches and license go to https://github.com/rust-lang/rust.vim
 " Note: upstream seems umaintained: https://github.com/rust-lang/rust.vim/issues/502
index daf9170bf3d8dca5cc1a2d5b4817cb41350c8a9e..ceeda9ed3254aeea3568d1c4603874f876656478 100644 (file)
@@ -3,10 +3,11 @@
 " Maintainer:          Christian Brabandt <cb@256bit.org>
 " Original Author:     Nikolai Weibull <now@bitwi.se>
 " Previous Maintainer: Peter Aronoff <telemachus@arpinum.org>
-" Latest Revision:     2019-10-24
+" Latest Revision:     20260504
 " License:             Vim (see :h license)
 " Repository:          https://github.com/chrisbra/vim-sh-indent
 " Changelog:
+"          20260504  - fix typo
 "          20250906  - indent function closing properly on multiline commands
 "          20250318  - Detect local arrays in functions
 "          20241411  - Detect dash character in function keyword for
@@ -233,7 +234,7 @@ function! s:is_array(line)
 endfunction
 
 function! s:is_in_block(line)
-  " checks whether a:line is whithin a 
+  " checks whether a:line is within a
   " block e.g. a shell function
   " foo() {
   " ..
index 89634f0914a8155dd8a07892c9d4eb4e6f1b3fe0..b222ab321050cb893fda3a14d798d44b6af758dd 100644 (file)
@@ -2,6 +2,7 @@
 " Language: Stylus
 " Maintainer: Marc Harter
 " Last Change: 2010 May 21
+" 2026 May 04 by Vim Project: fix typo
 " Based On: sass.vim from Tim Pope
 "
 if exists("b:did_indent")
@@ -97,7 +98,7 @@ function! GetStylusIndent()
   let line     = substitute(getline(lnum),'[\s()]\+$','','')  " get last line strip ending whitespace
   let cline    = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','')  " get current line, trimmed
   let lastcol  = strlen(line)  " get last col in prev line
-  let line     = substitute(line,'^\s\+','','')  " then remove preceeding whitespace
+  let line     = substitute(line,'^\s\+','','')  " then remove preceding whitespace
   let indent   = indent(lnum)  " get indent on prev line
   let cindent  = indent(v:lnum)  " get indent on current line
   let increase = indent + &sw  " increase indent by the shift width
index 052bddddbd7ba585a30c854327ad2b2f03225045..5d9339f21a014d7e6df77cdedefef0c13d7d7bee 100644 (file)
@@ -1,2 +1,2 @@
-" Placeholder for backwards compatilibity: .tsx used to stand for TypeScript.
+" Placeholder for backwards compatibility: .tsx used to stand for TypeScript.
 runtime! indent/typescript.vim
index b402aa81da0d1aa381afc8edbb34122d695e0b9a..b74c937c773bf7f6e5ab232517506dba2a25127b 100644 (file)
@@ -6513,7 +6513,7 @@ set_op_var(int optype)
 /*
  * Handle linewise operator "dd", "yy", etc.
  *
- * "_" is is a strange motion command that helps make operators more logical.
+ * "_" is a strange motion command that helps make operators more logical.
  * It is actually implemented, but not documented in the real Vi.  This motion
  * command actually refers to "the current line".  Commands like "dd" and "yy"
  * are really an alternate form of "d_" and "y_".  It does accept a count, so
index 5005cf898af48edd4acf79decef63877fea40aa6..1a8ff15f48a3ee0840ce560e34f7020510b8dc12 100644 (file)
@@ -215,7 +215,7 @@ compile_lock_unlock(
        // These checks are reminiscent of the variable_exists function.
        // But most of the matches require special handling.
 
-       // If bare name is is locally accessible, except for local var,
+       // If bare name is locally accessible, except for local var,
        // then put it on the stack to use with ISN_LOCKUNLOCK.
        // This could be v.memb, v[idx_key]; bare class variable,
        // function arg. The item on the stack, will be passed