view src/typemap @ 22604:3ac0ef0578ef v8.2.1850

patch 8.2.1850: "vat" does not select tags correctly over line break Commit: https://github.com/vim/vim/commit/a604ccc959c3bff88d3d5bc3c965819fc326d239 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 15 21:23:28 2020 +0200 patch 8.2.1850: "vat" does not select tags correctly over line break Problem: "vat" does not select tags correctly over line break. Solution: Adjust the search pattern. (Aufar Gilbran, closes https://github.com/vim/vim/issues/7136)
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Oct 2020 21:30: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}\")