view src/typemap @ 10684:83a36d655a74 v8.0.0232

patch 8.0.0232: paste does not work when 'esckeys' is off commit https://github.com/vim/vim/commit/48c9f3b123364f368472564a66a9b71dc383558b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 24 19:08:15 2017 +0100 patch 8.0.0232: paste does not work when 'esckeys' is off Problem: Pasting in Insert mode does not work when bracketed paste is used and 'esckeys' is off. Solution: When 'esckeys' is off disable bracketed paste in Insert mode.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Jan 2017 19:15:04 +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}\")