view ci/if_ver-cmd.vim @ 29960:4fcf816aa806 v9.0.0318

patch 9.0.0318: clearing screen causes flicker Commit: https://github.com/vim/vim/commit/13608d851a0470ced30921428b3313c023d395d8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 29 15:06:50 2022 +0100 patch 9.0.0318: clearing screen causes flicker Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Aug 2022 16:15:04 +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>)