view ci/if_ver-cmd.vim @ 25976:7b2e2b9617ee v8.2.3521

patch 8.2.3521: options completion test fails Commit: https://github.com/vim/vim/commit/abdcfd1c837e244065d4fe04c7a78abae5af3f7e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 16 16:48:27 2021 +0100 patch 8.2.3521: options completion test fails Problem: Options completion test fails. Solution: Add 'thesaurusfunc' to the results.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Oct 2021 18:00:05 +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>)