view src/testdir/test10.in @ 31800:ea09e0f546f0 v9.0.1232

patch 9.0.1232: ColorTable saving and restoring does not work properly Commit: https://github.com/vim/vim/commit/d343c60df4b0adc6b1baac4d68a72a735ac21dc4 Author: Christopher Plewright <chris@createng.com> Date: Sun Jan 22 18:58:30 2023 +0000 patch 9.0.1232: ColorTable saving and restoring does not work properly Problem: ColorTable saving and restoring does not work properly. Solution: Restore ColorTable[16] usage. (Christopher Plewright, closes #11836)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Jan 2023 20:00:06 +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