view src/testdir/test20.in @ 21907:f4e21796f47d v8.2.1503

patch 8.2.1503: Vim9: error for autocmd defined in :def in legacy script Commit: https://github.com/vim/vim/commit/81e17fbe00fd2ed93b262adc3ba41c86b02e7f46 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 21 21:55:43 2020 +0200 patch 8.2.1503: Vim9: error for autocmd defined in :def in legacy script Problem: Vim9: error for an autocmd defined in a :def function in legacy Vim script. Solution: Don't check the variable type. (closes #6758)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Aug 2020 22:00:04 +0200
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests Blockwise Visual when there are TABs before the text.
First test for undo working properly when executing commands from a register.
Also test this in an empty buffer.

STARTTEST
G0"ay$k@au
:new
@auY:quit!
GP
/start here$
"by$jjlld
/456$
jj"bP
:/56$/,$-1w! test.out
:qa!
ENDTEST

123456
234567
345678

test text test tex start here
		some text
		test text
test text

OxjAykdd