Mercurial > vim
view src/typemap @ 28954:0a7b2b0d8c7f v8.2.4999
patch 8.2.4999: filetype test table is not properly sorted
Commit: https://github.com/vim/vim/commit/aa9729b652aa93b547b5c7006f54a143d99ea149
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 22 14:26:54 2022 +0100
patch 8.2.4999: filetype test table is not properly sorted
Problem: Filetype test table is not properly sorted.
Solution: Sort by filetype. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 May 2022 15:30: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}\")