Mercurial > vim
view src/typemap @ 32216:6651b86aed3b v9.0.1439
patch 9.0.1439: start Insert mode when accessing a hidden prompt buffer
Commit: https://github.com/vim/vim/commit/cde8de034524d00aba4ff4142e658baff511e12d
Author: orbital <orbital@holgerines.de>
Date: Sun Apr 2 22:05:13 2023 +0100
patch 9.0.1439: start Insert mode when accessing a hidden prompt buffer
Problem: Start Insert mode when accessing a hidden prompt buffer.
Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tr?bst,
closes #12148, closes #12147)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Apr 2023 23: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}\")