view ci/if_ver-cmd.vim @ 26430:42471d3ac079 v8.2.3746

patch 8.2.3746: cannot disassemble function starting with "debug" or "profile" Commit: https://github.com/vim/vim/commit/c7d5fc8622f03cca8d1a9a54d4703e8f0c9941d0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 5 17:20:24 2021 +0000 patch 8.2.3746: cannot disassemble function starting with "debug" or "profile" Problem: Cannot disassemble function starting with "debug" or "profile". Solution: Check for white space following. (closes https://github.com/vim/vim/issues/9273)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 18:30:04 +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>)