view src/typemap @ 12572:31737ff54115 v8.0.1164

patch 8.0.1164: changing StatusLine highlight does not always work commit https://github.com/vim/vim/commit/65ed136844fbaffdd473903ed841c944600234dc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 30 16:00:14 2017 +0200 patch 8.0.1164: changing StatusLine highlight does not always work Problem: Changing StatusLine highlight while evaluating 'statusline' may not change the status line color. Solution: When changing highlighting while redrawing don't cause another redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)
author Christian Brabandt <cb@256bit.org>
date Sat, 30 Sep 2017 16: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}\")