view ci/if_ver-cmd.vim @ 20265:d821c03b890c v8.2.0688

patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands Commit: https://github.com/vim/vim/commit/647a530b33d9d767f591159c24c62de48e57dad7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 3 17:01:24 2020 +0200 patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands Problem: Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher.
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 May 2020 17:15: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>)