view ci/if_ver-cmd.vim @ 27227:6ce83b3745c0 v8.2.4142

patch 8.2.4142: build failure with normal features without persistent undo Commit: https://github.com/vim/vim/commit/b4868eddd9cdc7086c88a7a3699dd435d34ae904 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 19 11:24:40 2022 +0000 patch 8.2.4142: build failure with normal features without persistent undo Problem: Build failure with normal features without persistent undo. Solution: Adjust #ifdef. (closes https://github.com/vim/vim/issues/9557)
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Jan 2022 12:30:05 +0100
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>)