view src/typemap @ 12646:b908a3682f6e v8.0.1201

patch 8.0.1201: "yL" is affected by 'scrolloff' commit https://github.com/vim/vim/commit/44cc4cf72fdd12cd9a779031d443aac4254d51ae Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 15 22:13:37 2017 +0200 patch 8.0.1201: "yL" is affected by 'scrolloff' Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) Solution: Don't use 'scrolloff' when an operator is pending.
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2017 22:15:05 +0200
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}\")