blob: 40f8e080750a2fca79090b037a712c10ad20e245 [file] [log] [blame]
Bram Moolenaareda29c92022-10-02 12:59:00 +01001Test that vim9script also works without the +eval feature.
2
3STARTTEST
4:/^START/+1,/^END/-1:w! Xvim9
5:so Xvim9
6ENDTEST
7
8START
9vim9script
10
11if 1
12 echo 'this is skipped without +eval'
13endif
14
15# colon required for a range
16:$-1,$w! test.out
17qa!
18END
19
20first line
21last line