view ci/if_ver-cmd.vim @ 30661:57ebc2a4d2ca v9.0.0665

patch 9.0.0665: setting 'cmdheight' has no effect if last window was resized Commit: https://github.com/vim/vim/commit/0816f473ab2f6cf7d8311c0f97371cada7f20d18 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 5 15:42:32 2022 +0100 patch 9.0.0665: setting 'cmdheight' has no effect if last window was resized Problem: Setting 'cmdheight' has no effect if last window was resized. Solution: Do apply 'cmdheight' when told to. Use the frame height instead of the cmdline_row. (closes #11286)
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Oct 2022 16: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>)