view src/typemap @ 31119:e2c909e06424 v9.0.0894

patch 9.0.0894: virtual text property highlight ignores window background Commit: https://github.com/vim/vim/commit/ee28c707e474682151554499874fc7bfb53360cb Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 17 14:56:00 2022 +0000 patch 9.0.0894: virtual text property highlight ignores window background Problem: Virtual text property highlight ignores window background. Solution: Combine text prop attribute with win_attr into extra_attr. (closes #11462)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Nov 2022 16:00:06 +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}\")