Mercurial > vim
view src/typemap @ 17466:15de78cb9f39 v8.1.1731
patch 8.1.1731: command line history not read from viminfo on startup
commit https://github.com/vim/vim/commit/26b654a5df9414e43734eb4c956b67c331d70a50
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 22 20:50:17 2019 +0200
patch 8.1.1731: command line history not read from viminfo on startup
Problem: Command line history not read from viminfo on startup.
Solution: Get history length after initializing it.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jul 2019 21:00:06 +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}\")