view src/testdir/test10.in @ 34148:8687845c326c v9.1.0035

patch 9.1.0035: i_CTRL-] triggers InsertCharPre Commit: https://github.com/vim/vim/commit/7d711fe2092d0438d2df5054df735ec34926e2bc Author: altermo <> Date: Tue Jan 16 17:25:17 2024 +0100 patch 9.1.0035: i_CTRL-] triggers InsertCharPre Problem: i_CTRL-] triggers InsertCharPre Solution: Return if CTRL-] is received. InsertCharPre is supposed to be only used for chars to be inserted but i_CTRL-] triggers expansion and is not inserted into the buffer (altermo) closes: #13853 closes: #13864 Signed-off-by: altermo Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 16 Jan 2024 17:30:11 +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