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

runtime(vim): Cleanup syntax tests

Improve formatting and naming consistency of the syntax tests.

closes: #17850

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-07-25 20:00:25 +02:00
committed by Christian Brabandt
parent e9d1259111
commit cced80dcbb
555 changed files with 1973 additions and 1787 deletions

View File

@@ -3,7 +3,7 @@
" VIM_TEST_SETUP setl fdc=2 fdl=999 fdm=syntax
" list
" List
function
function Foo
@@ -15,7 +15,7 @@ function Foo | echo "Foo"
function Foo " comment
" definition
" Definition
" empty definition
function Foo()
@@ -113,7 +113,7 @@ function s:ls()
endfunction
" modifiers
" Modifiers
function Foo() range
endfunction
@@ -178,7 +178,7 @@ function Foo()
endfunction " comment
" parameters
" Parameters
function Foo(x, y, z, ...)
return 42
@@ -219,7 +219,7 @@ function Foo(
endfunction
" arguments
" Arguments
function Foo(a, b, c)
echo a:a a:b a:c
@@ -238,7 +238,7 @@ function Test(lines = [line('.'), line('.')])
endfunction
" comments
" Comments
function Foo()
" Legacy-script comment
@@ -247,13 +247,13 @@ function Foo()
endfunction
" command modifiers
" Command modifiers
silent! function Foo()
endfunction
" leading command separator
" Leading command separator
echo "Foo" | function Foo()
endfunction
@@ -267,7 +267,7 @@ func! s:func(_, func)
endfunc
" fold-region ending
" Fold-region ending
function Foo()
" endfunction