view src/typemap @ 11965:a932d3da41c8 v8.0.0863

patch 8.0.0863: a remote command does not work in the terminal window commit https://github.com/vim/vim/commit/69198197fd4b061be7cadcf441cd8a7246a17148 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 14:10:48 2017 +0200 patch 8.0.0863: a remote command does not work in the terminal window Problem: A remote command starting with CTRL-\ CTRL-N does not work in the terminal window. (Christian J. Robinson) Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 14:15:04 +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}\")