Mercurial > vim
view src/typemap @ 15983:e73ed0e3faac v8.1.0997
patch 8.1.0997: using GUI colors in vim.exe when 'termguicolors' is off
commit https://github.com/vim/vim/commit/d5a5886ce90a30efc830b0053472735c5bbb4b0f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 7 06:40:27 2019 +0100
patch 8.1.0997: using GUI colors in vim.exe when 'termguicolors' is off
Problem: Using GUI colors in vim.exe when 'termguicolors' is off.
Solution: Add condition for 'termguicolors' set. (Ken Takata, closes https://github.com/vim/vim/issues/4078)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Mar 2019 06:45:09 +0100 |
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}\")