view src/typemap @ 22439:445799159195 v8.2.1768

patch 8.2.1768: cannot use the help menu from a terminal window Commit: https://github.com/vim/vim/commit/b45cd36bd90f71e4a35b1ef1f75a3bedef6d8bac Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 28 21:41:49 2020 +0200 patch 8.2.1768: cannot use the help menu from a terminal window Problem: Cannot use the help menu from a terminal window. Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/7023)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Sep 2020 21:45:03 +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}\")