view src/typemap @ 32202:eae369cd4dcf v9.0.1432

patch 9.0.1432: completion popup in wrong position with virtual text "above" Commit: https://github.com/vim/vim/commit/6ac2e4392a9d8b89c8824bf94a9da24a6f07c74f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 31 19:32:29 2023 +0100 patch 9.0.1432: completion popup in wrong position with virtual text "above" Problem: Completion popup in wrong position with virtual text "above". Solution: Adjust the column. (closes https://github.com/vim/vim/issues/12210)
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Mar 2023 20:45:05 +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}\")