view src/typemap @ 13008:e775011b4c1e v8.0.1380

patch 8.0.1380: using "vim -r swapfile" the hit-enter prompt is misplaced. commit https://github.com/vim/vim/commit/05684310a53c8a4804441c1c6f8b7fc9e8194940 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 9 15:11:24 2017 +0100 patch 8.0.1380: using "vim -r swapfile" the hit-enter prompt is misplaced. Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt is at the top of the window. Solution: Invalidate the cursor position.
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Dec 2017 15:15:05 +0100
parents dec4338a7da2
children
line wrap: on
line source

TYPEMAP
VIWIN	T_VIOBJNOMUNGE
VIBUF	T_VIOBJNOMUNGE

INPUT
T_VIOBJNOMUNGE
	if (sv_isa($arg, \"${ntype}\")) {
	    IV tmp = SvIV((SV*)SvRV($arg));
	    $var = INT2PTR($type, tmp);
	    if (!tmp)
		croak(\"$ntype no longer exists\");
	}
	else
	    croak(\"$var is not of type ${ntype}\")