view src/typemap @ 29643:b54dfe92ee10 v9.0.0162

patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Commit: https://github.com/vim/vim/commit/73c3842fa54aa99e59b897b6ff1e69e800fe9cd3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 11:53:40 2022 +0100 patch 9.0.0162: text property "below" gets indent if 'breakindent' is set Problem: Text property "below" gets indent if 'breakindent' is set. (Tim Pope) Solution: Do not put indent before text property. (closes #10859)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Aug 2022 13:00:15 +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}\")