0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

runtime(doc): Fix notation of "Vim script" and "Vim9 script"

closes: #17213

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-04-27 15:28:30 +02:00
committed by Christian Brabandt
parent 411ae580a9
commit fbe4a8f5c0
32 changed files with 53 additions and 49 deletions

View File

@@ -149,7 +149,7 @@ def Foo()
enddef
# Issue #16227 (Vimscript ternary expression highlighting)
# Issue #16227 (Vim script ternary expression highlighting)
var foo = 'foo' # comment
var bar = foo == 'foo' ? 'bar' : 'baz'

View File

@@ -7,7 +7,7 @@ clearmatches()
echo "Foo" | clearmatches()
# Issue 16721 (vimscript highlight of builtin function after |)
# Issue 16721 (Vim script highlight of builtin function after |)
&directory = $'{$MYVIMDIR}/.data/swap/'
&backupdir = $'{$MYVIMDIR}/.data/backup//'

View File

@@ -99,7 +99,7 @@ def Foo(
z: string = "zed")
enddef
" Issue #16243 (vimscript def parameters syntax highlight is wrong)
" Issue #16243 (Vim script def parameters syntax highlight is wrong)
def Test(lines: list<number> = [line('.'), line('.')]): void
enddef

View File

@@ -177,7 +177,7 @@ function Foo(...)
endfunction
" Issue #16243 (vimscript def parameters syntax highlight is wrong)
" Issue #16243 (Vim script def parameters syntax highlight is wrong)
function Test(lines = [line('.'), line('.')])
endfunction