view ci/if_ver-cmd.vim @ 25407:241d26b17192 v8.2.3240

patch 8.2.3240: Lua print() does not work properly Commit: https://github.com/vim/vim/commit/2a4bd00cef1a291059903e26a126b84718e47804 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 28 21:48:59 2021 +0200 patch 8.2.3240: Lua print() does not work properly Problem: Lua print() does not work properly. Solution: Put back lua_pop().
author Bram Moolenaar <Bram@vim.org>
date Wed, 28 Jul 2021 22:00:05 +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>)