view ci/if_ver-cmd.vim @ 20063:cc146cde0b4d v8.2.0587

patch 8.2.0587: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/21cfe500f322a0bea3367c677943ea6c57c282b9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 16 23:01:50 2020 +0200 patch 8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Apr 2020 23: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>)