view ci/if_ver-cmd.vim @ 28976:ad63d6a8ed21 v8.2.5010

patch 8.2.5010: the terminal debugger uses various global variables Commit: https://github.com/vim/vim/commit/c9a431c7638ecebb6f2cb3eabd0e1b2b5e269c1e Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 23 21:49:41 2022 +0100 patch 8.2.5010: the terminal debugger uses various global variables Problem: The terminal debugger uses various global variables. Solution: Add a dictionary to hold the terminal debugger preferences.
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 May 2022 23:00: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>)