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:
committed by
Christian Brabandt
parent
e9d1259111
commit
cced80dcbb
27
runtime/syntax/testdir/input/vim9_no_comment_strings.vim
Normal file
27
runtime/syntax/testdir/input/vim9_no_comment_strings.vim
Normal file
@ -0,0 +1,27 @@
|
||||
vim9script
|
||||
# Vim9 no comment strings
|
||||
# VIM_TEST_SETUP let g:vimsyn_comment_strings = v:false
|
||||
|
||||
|
||||
# pre "string" post
|
||||
|
||||
function Foo()
|
||||
" pre "string" post
|
||||
endfunction
|
||||
|
||||
def Bar()
|
||||
# pre "string" post
|
||||
enddef
|
||||
|
||||
command Foo {
|
||||
# pre "string" post
|
||||
}
|
||||
|
||||
autocmd BufNewFile * {
|
||||
# pre "string" post
|
||||
}
|
||||
|
||||
{
|
||||
# pre "string" post
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user