view ci/if_ver-cmd.vim @ 28881:3ddaf476a874 v8.2.4963

patch 8.2.4963: expanding path with "/**" may overrun end of buffer Commit: https://github.com/vim/vim/commit/386c24cd262edac66a31add2fd989c96c4c2c952 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 16 12:37:36 2022 +0100 patch 8.2.4963: expanding path with "/**" may overrun end of buffer Problem: Expanding path with "/**" may overrun end of buffer. Solution: Use vim_snprintf().
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 May 2022 13:45:02 +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>)