view src/typemap @ 32655:79e36ed83ca1 v9.0.1659

patch 9.0.1659: Termdebug: default highlight cleared if changing colorscheme Commit: https://github.com/vim/vim/commit/279de0cd1f58ea520826a3dd1c5562a71157b23b Author: Christian Brabandt <cb@256bit.org> Date: Sat Jun 24 14:20:36 2023 +0100 patch 9.0.1659: Termdebug: default highlight cleared if changing colorscheme Problem: Termdebug: default highlight cleared when changing colorscheme. Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes https://github.com/vim/vim/issues/12566, closes #12555)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jun 2023 15:30: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}\")