view ci/if_ver-cmd.vim @ 20338:ff4ae3f09307

patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested Commit: https://github.com/vim/vim/commit/396f3138ca83ce844679143861f544070683d479 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 9 18:44:56 2020 +0200 patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested Problem: Vim9: appending to buffer/window/tab variable not tested Solution: Add a test.
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 May 2020 18: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>)