view ci/if_ver-cmd.vim @ 29639:0fc188347f8a v9.0.0160

patch 9.0.0160: some diff mode tests fail Commit: https://github.com/vim/vim/commit/83bf11a1ffc5a7bc4a5ba81747df606d69c1465a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 6 22:23:40 2022 +0100 patch 9.0.0160: some diff mode tests fail Problem: Some diff mode tests fail. Solution: Only advance "ptr" when a text property follows.
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Aug 2022 23:30: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>)