mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
Fix incorrect spelling of Vim script and Vim9 script
closes: #18591 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6582299b8d
commit
1b565eee6d
@ -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 <path>#<function_name>.
|
||||
#
|
||||
|
||||
@ -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:
|
||||
|
||||
|
||||
@ -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])',
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user