view ci/if_ver-cmd.vim @ 20925:0aeac2b45846 v8.2.1014

patch 8.2.1014: using "name" for a string result is confusing Commit: https://github.com/vim/vim/commit/1e0b7b11db61bd906266d3174fee0bbaf20a101f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 19 19:30:53 2020 +0200 patch 8.2.1014: using "name" for a string result is confusing Problem: Using "name" for a string result is confusing. Solution: Rename to "end".
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jun 2020 19:45: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>)