view ci/if_ver-cmd.vim @ 23287:f2a70fca3485 v8.2.2189

patch 8.2.2189: cannot repeat a command that uses the small delete register Commit: https://github.com/vim/vim/commit/032a2d050b82b146d70d6ff714838ee62c07d8ad Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 17:59:35 2020 +0100 patch 8.2.2189: cannot repeat a command that uses the small delete register Problem: Cannot repeat a command that uses the small delete register. Solution: Store the register name instead of the contents. (Christian Brabandt, closes #7527)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 18:00:03 +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>)