view src/typemap @ 20749:dae1811e84dd v8.2.0927

patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized Commit: https://github.com/vim/vim/commit/da84ac2a6f467d0b9eddcc8709433cda75d16a41 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 7 20:07:43 2020 +0200 patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized Problem: Some sshconfig and ssdhconfig files are not recognized. Solution: Add filetype patterns.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Jun 2020 20: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}\")