view ci/if_ver-cmd.vim @ 24170:74f869d4bd54 v8.2.2626

patch 8.2.2626: GTK3: error when starting up and -geometry is given Commit: https://github.com/vim/vim/commit/240014321b0aa5d6eb00a70865fa9935fd888d60 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 20 12:36:46 2021 +0100 patch 8.2.2626: GTK3: error when starting up and -geometry is given Problem: GTK3: error when starting up and -geometry is given. (Dominique Pell?) Solution: Use another function to get the monitor if the window has not been created yet. (closes #7978)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Mar 2021 12:45: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>)