view ci/if_ver-cmd.vim @ 23211:96a72f1f6c0c v8.2.2151

patch 8.2.2151: $dir not expanded when configure checks for moonjit Commit: https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 20:50:25 2020 +0100 patch 8.2.2151: $dir not expanded when configure checks for moonjit Problem: $dir not expanded when configure checks for moonjit. Solution: Use double quotes instead of single quotes. (closes https://github.com/vim/vim/issues/7478)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 21:00: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>)