view ci/if_ver-cmd.vim @ 30316:f0afaca0bf74 v9.0.0494

patch 9.0.0494: small build misses float function declaraitons Commit: https://github.com/vim/vim/commit/96caa557f92f7e1fd61d4b401fefd30c91eb44f0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 17 21:57:43 2022 +0100 patch 9.0.0494: small build misses float function declaraitons Problem: Small build misses float function declaraitons. Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Sep 2022 23:00:03 +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>)