view ci/if_ver-cmd.vim @ 27451:c1da76214cca v8.2.4254

patch 8.2.4254: using short instead of int Commit: https://github.com/vim/vim/commit/f12b7815f6b55c3e2f37366aa45e723b1fcb2e9a Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Sat Jan 29 15:12:39 2022 +0000 patch 8.2.4254: using short instead of int Problem: Using short instead of int. Solution: Use int. (closes https://github.com/vim/vim/issues/9658)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 16:15:03 +0100
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>)