view ci/if_ver-cmd.vim @ 26059:c7e09c069ece v8.2.3563

patch 8.2.3563: build failure with +eval but without GUI or +termguicolors Commit: https://github.com/vim/vim/commit/2a52196b78f3fcc0e9fad538984272c5fd8d85db Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 25 10:30:14 2021 +0100 patch 8.2.3563: build failure with +eval but without GUI or +termguicolors Problem: Build failure with +eval but without GUI or +termguicolors Solution: Adjust #ifdef. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Oct 2021 11:45: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>)