view ci/if_ver-cmd.vim @ 26604:d54a39ec6d43 v8.2.3831

patch 8.2.3831: opfunc test fails when missing feature changes function name Commit: https://github.com/vim/vim/commit/23e72369ffa2c18e9fda1e5d77f4397dc4700764 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 16 21:07:35 2021 +0000 patch 8.2.3831: opfunc test fails when missing feature changes function name Problem: Opfunc test fails when missing feature changes function name. (Dominique Pell?) Solution: Check the relevant screen line instead of using a screendump. (closes #9360)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Dec 2021 22:15: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>)