view ci/if_ver-cmd.vim @ 27621:9a8992489b71 v8.2.4337

patch 8.2.4337: part of condition is always true Commit: https://github.com/vim/vim/commit/78a8404f8b6ad0152614d5fdc3ec277444c1eee5 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Wed Feb 9 15:20:39 2022 +0000 patch 8.2.4337: part of condition is always true Problem: Part of condition is always true. Solution: Remove that part of the condition. (closes https://github.com/vim/vim/issues/9729)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Feb 2022 16:30:03 +0100
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>)