view ci/if_ver-cmd.vim @ 20205:83e196d484eb v8.2.0658

patch 8.2.0658: HP-UX build fails when setenv() is not defined Commit: https://github.com/vim/vim/commit/affc8fd2cda77fbd47df2594da417a9f9a9bb9b6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 28 21:58:29 2020 +0200 patch 8.2.0658: HP-UX build fails when setenv() is not defined Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Apr 2020 22:00:04 +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>)