view ci/if_ver-cmd.vim @ 28191:e4ca5a390f48 v8.2.4621

patch 8.2.4621: crash when using the tabline right-click menu Commit: https://github.com/vim/vim/commit/9dd42a631162a8561bd7c4b0e89afd21f7994d8c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 24 18:04:49 2022 +0000 patch 8.2.4621: crash when using the tabline right-click menu Problem: Crash when using the tabline right-click menu. Solution: Use XtPointer for XmNuserData. (closes https://github.com/vim/vim/issues/10009)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Mar 2022 19:15: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>)