view src/typemap @ 17434:26e8d42987ca v8.1.1715

patch 8.1.1715: emoji characters are seen as word characters for spelling commit https://github.com/vim/vim/commit/06e6377009c5763639310fa3bf892dec27a63334 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 19 23:04:34 2019 +0200 patch 8.1.1715: emoji characters are seen as word characters for spelling Problem: Emoji characters are seen as word characters for spelling. (Gautam Iyer) Solution: Exclude class 3 from word characters.
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jul 2019 23:15: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}\")