Mercurial > vim
view ci/if_ver-cmd.vim @ 21323:5b0bbc5d4e74 v8.2.1212
patch 8.2.1212: cannot build with Lua 5.4
Commit: https://github.com/vim/vim/commit/5551b131daef3a621a28dcbbe118920f5b9fabe6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 14 21:54:28 2020 +0200
patch 8.2.1212: cannot build with Lua 5.4
Problem: Cannot build with Lua 5.4.
Solution: Use luaL_typeerror instead defining it. (closes https://github.com/vim/vim/issues/6454)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jul 2020 22:00:04 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)