view ci/if_ver-cmd.vim @ 33965:ba282a0dec3d v9.0.2174

patch 9.0.2174: Vim9: segfault when assigning to type Commit: https://github.com/vim/vim/commit/b5011089860b24f60db1a74f91c0adf8897c4401 Author: Ernie Rael <errael@raelity.com> Date: Mon Dec 18 08:34:41 2023 +0100 patch 9.0.2174: Vim9: segfault when assigning to type Problem: Vim9: segfault when assigning to type Solution: do not clear typeval, add missing patch number closes: #13714 closes: #13715 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 18 Dec 2023 08:45:06 +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>)