view ci/if_ver-cmd.vim @ 33158:e8805650fec1 v9.0.1861

patch 9.0.1861: xxd: issue when -R is specified several times Commit: https://github.com/vim/vim/commit/233f956bd43279db1fb4d017acb4e56a1504addf Author: K.Takata <kentkt@csc.jp> Date: Mon Sep 4 07:46:59 2023 +0200 patch 9.0.1861: xxd: issue when -R is specified several times Problem: xxd: issue when -R is specified several times Solution: Fix command line parsing See: https://github.com/vim/vim/pull/12986#issuecomment-1704375892 closes: #13021 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: K.Takata <kentkt@csc.jp> Co-authored-by: Aapo Rantalainen <aapo.rantalainen@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Sep 2023 08:00: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>)