Mercurial > vim
view src/typemap @ 35119:7d6bce8d8875 v9.1.0393
patch 9.1.0393: 'viewdir' not respecting $XDG_CONFIG_HOME
Commit: https://github.com/vim/vim/commit/c3e6e393cbd0ee171001d75fc2310070da81b657
Author: Christian Brabandt <cb@256bit.org>
Date: Sat May 4 09:48:15 2024 +0200
patch 9.1.0393: 'viewdir' not respecting $XDG_CONFIG_HOME
Problem: 'viewdir' not respecting $XDG_CONFIG_HOME
(Danilo Rezende, after v9.1.327)
Solution: adjust 'viewdir' option when enabling XDG config mode
fixes: #14680
closes: #14708
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 May 2024 10:00: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}\")