view src/typemap @ 30767:5dba398584fd v9.0.0718

patch 9.0.0718: extra empty line between two virtual text "below" Commit: https://github.com/vim/vim/commit/ccf2837a05cef0ea4913ebff4f2f6000bc050271 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 10 21:10:03 2022 +0100 patch 9.0.0718: extra empty line between two virtual text "below" Problem: Extra empty line between two virtual text "below" when 'wrap' and 'number' are set. Solution: Reset "before" when there is no text in the screen line. (closes #11334)
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Oct 2022 22:15: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}\")