1
0
forked from aniani/vim
Files
vim/src/testdir/test10.in
Bram Moolenaar eda29c971c patch 9.0.0637: syntax of commands in Vim9 script depends on +eval feature
Problem:    Syntax of commands in Vim9 script depends on +eval feature.
Solution:   Use same syntax with and without the +eval feature.
2022-10-02 12:59:00 +01:00

22 lines
265 B
Plaintext

Test that vim9script also works without the +eval feature.
STARTTEST
:/^START/+1,/^END/-1:w! Xvim9
:so Xvim9
ENDTEST
START
vim9script
if 1
echo 'this is skipped without +eval'
endif
# colon required for a range
:$-1,$w! test.out
qa!
END
first line
last line