view ci/if_ver-cmd.vim @ 19495:f6c87afa5501 v8.2.0305

patch 8.2.0305: relativenumber test fails on some systems Commit: https://github.com/vim/vim/commit/8040a7147f5b896a702d1684e7831df107490f45 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 23 13:38:08 2020 +0100 patch 8.2.0305: relativenumber test fails on some systems Problem: Relativenumber test fails on some systems. (James McCoy) Solution: Clear the command line.
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Feb 2020 13:45:04 +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>)