From: Hirohito Higashi Date: Fri, 17 Oct 2025 17:48:34 +0000 (+0000) Subject: Fix incorrect spelling of Vim script and Vim9 script X-Git-Tag: v9.1.1865~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b565eee6df194e2f842475299fd16793c714677;p=thirdparty%2Fvim.git Fix incorrect spelling of Vim script and Vim9 script closes: #18591 Signed-off-by: Hirohito Higashi Signed-off-by: Christian Brabandt --- diff --git a/runtime/autoload/vimgoto.vim b/runtime/autoload/vimgoto.vim index 421732ce89..cb41cc7de2 100644 --- a/runtime/autoload/vimgoto.vim +++ b/runtime/autoload/vimgoto.vim @@ -4,9 +4,9 @@ vim9script # Contributers: @lacygoill # Shane-XB-Qian # Andrew Radev -# Last Change: 2025 Sep 21 +# Last Change: 2025 Oct 17 # -# Vim Script to handle jumping to the targets of several types of Vim commands +# Vim script to handle jumping to the targets of several types of Vim commands # (:import, :packadd, :runtime, :colorscheme), and to autoloaded functions of # the style #. # diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 1e148f9f3a..b0bd39a281 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 9.1. Last change: 2025 Oct 16 +*insert.txt* For Vim version 9.1. Last change: 2025 Oct 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1706,7 +1706,7 @@ Notes: VIM *ft-vim-omni* -Simple completion of Vimscript and Vim9script languages. +Simple completion of Vim script and Vim9 script languages. Complete: diff --git a/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim b/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim index 2b57cebae3..f3ce9febf9 100644 --- a/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim +++ b/runtime/pack/dist/opt/helptoc/autoload/helptoc.vim @@ -3,7 +3,7 @@ vim9script noclear # the Vim HelpTOC plugin, creates a table of contents in a popup # Maintainer: Vim project # Original Author: @lacygoill -# Latest Change: 2025 Jul 10 +# Latest Change: 2025 Oct 17 # # Config {{{1 # g:helptoc {{{2 @@ -486,7 +486,7 @@ def SetToc() #{{{2 ->substitute('\\\([&%$_#{}~\\^]\)', '\1', 'g') # SANITIZE_VIM {{{3 - # #1 - Omit leading Vim9 script # or vimscript " markers and blanks + # #1 - Omit leading Vim9 script # or Vim script " markers and blanks # #2 - Omit numbered 3x { markers const SANITIZE_VIM = (text: string): string => text->substitute('\v^[#[:blank:]"]*(.+)\ze[{]{3}([1-6])', diff --git a/src/userfunc.c b/src/userfunc.c index 232a05b2b8..6d8933be6b 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -4637,7 +4637,7 @@ trans_function_name_ext( else { // dropping "g:" without setting "is_global" won't work in - // Vim9script, put it back later + // Vim9 script, put it back later prefix_g = TRUE; extra = 2; }