view ci/if_ver-cmd.vim @ 30431:8a25c8215d4a v9.0.0551

patch 9.0.0551: mode message is delayed when :echowin was used Commit: https://github.com/vim/vim/commit/f87eeb43fb29f5e3d39807e6ce49e5e2d72eb38b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 22 19:02:38 2022 +0100 patch 9.0.0551: mode message is delayed when :echowin was used Problem: Mode message is delayed when :echowin was used. (Maxim Kim) Solution: Save and restore msg_didout in :echowin. (closes https://github.com/vim/vim/issues/11193)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Sep 2022 20:15: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>)