1
0
Fork 0

Adding upstream version 2:9.1.1230.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-21 11:09:31 +02:00
parent 95f88d82e6
commit 0985b09abd
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
6270 changed files with 2000183 additions and 0 deletions

View file

@ -0,0 +1,60 @@
" Vim :for command
" :for {var} in {object}
let expr = [42]
for foo in expr
echo foo
endfor
for foo in expr " comment
echo foo
endfor
for foo in
"\ comment
\ expr
echo foo
endfor
for foo in expr | echo foo | endfor
for foo in [42]
echo foo
endfor
for foo in [42] | echo foo | endfor
echo "foo" | for foo in expr
echo foo
endfor
" :for [{var1}, {var2}, ...] in {listlist}
let expr = [[42, 83]]
for [foo, bar] in expr
echo foo bar
endfor
for [foo, bar] in expr " comment
echo foo bar
endfor
for [foo, bar] in
"\ comment
\ expr
echo foo bar
endfor
for [foo, bar] in expr | echo foo bar | endfor
for [foo, bar] in [[42, 83]]
echo foo bar
endfor
for [foo, bar] in [[42, 83]] | echo foo bar | endfor