view src/typemap @ 17214:079ce74ecaa5 v8.1.1606

patch 8.1.1606: on a narrow screen ":hi" output is confusing commit https://github.com/vim/vim/commit/548be7f126dc57ca861cb26dc6492c3b2a9e2c99 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 29 03:42:42 2019 +0200 patch 8.1.1606: on a narrow screen ":hi" output is confusing Problem: On a narrow screen ":hi" output is confusing. Solution: Insert a space between highlight group name and "xxx". (Masato Nishihaga, closes #4599)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jun 2019 03:45:06 +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}\")