view src/testdir/test10.in @ 31323:a93392e93a53 v9.0.0995

patch 9.0.0995: padding before virtual text is highlighted Commit: https://github.com/vim/vim/commit/37f088eeade7972bce45b663adaba4bf102a9999 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 2 21:50:14 2022 +0000 patch 9.0.0995: padding before virtual text is highlighted Problem: Padding before virtual text below is highlighted when 'number' and 'nowrap' are set. Solution: Save and restore n_attr_skip. (closes #11643)
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Dec 2022 23:00:03 +0100
parents 9d7914012b82
children
line wrap: on
line source

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