view src/testdir/test10.in @ 31760:f348559ce426 v9.0.1212

patch 9.0.1212: cannot read back what setcellwidths() has done Commit: https://github.com/vim/vim/commit/66bb9ae70f7371456ed76518076d2a344f8ab417 Author: Kota Kato <github@kat0h.com> Date: Tue Jan 17 18:31:56 2023 +0000 patch 9.0.1212: cannot read back what setcellwidths() has done Problem: Cannot read back what setcellwidths() has done. Solution: Add getcellwidths(). (Kota Kato, closes https://github.com/vim/vim/issues/11837)
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 Jan 2023 19:45:05 +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