view ci/if_ver-cmd.vim @ 28572:3c7f1b3ae427 v8.2.4810

patch 8.2.4810: missing changes in one file Commit: https://github.com/vim/vim/commit/56dba60216a1bf72c1de299316f4d4ef19e50ad5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 23 11:03:58 2022 +0100 patch 8.2.4810: missing changes in one file Problem: Missing changes in one file. Solution: Also change the struct initializers.
author Bram Moolenaar <Bram@vim.org>
date Sat, 23 Apr 2022 12:15: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>)