view src/testdir/test38.in @ 10611:6bff81438f27 v8.0.0195

patch 8.0.0195: fail to jump to static tag in current file commit https://github.com/vim/vim/commit/a9d23c20879d0dcb289a4db54b3c7df060f87c3c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 16 20:53:34 2017 +0100 patch 8.0.0195: fail to jump to static tag in current file Problem: Jumping to a tag that is a static item in the current file fails. (Kazunobu Kuriyama) Solution: Make sure the first byte of the tag key is not NUL. (Suggested by James McCoy, closes #1387)
author Christian Brabandt <cb@256bit.org>
date Mon, 16 Jan 2017 21:00:04 +0100
parents 4541e06d4fb9
children
line wrap: on
line source


Test Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=x7f t_kb=x08
ggdGa
abcdefghi
jk	lmn
    opq	rst
uvwxyz
gg:set ai
:set bs=2
gR0 1
A
BCDEFGHIJ
	KL
MNO
PQRG:ka
o0
abcdefghi
jk	lmn
    opq	rst
uvwxyz
'ajgR0 1
A
BCDEFGHIJ
	KL
MNO
PQR:$
iab	cdefghi	jkl0gRAB......CDEFGHI.Jo:
iabcdefghijklmnopqrst0gRAB	IJKLMNO	QR:wq! test.out
ENDTEST