view ci/if_ver-cmd.vim @ 22135:f45127fbe9ba v8.2.1617

patch 8.2.1617: Vim9: cannot pass "true" to win_splitmove() Commit: https://github.com/vim/vim/commit/4b9bd692bdffba03fda04f9979e25431b53e416b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 5 21:57:53 2020 +0200 patch 8.2.1617: Vim9: cannot pass "true" to win_splitmove() Problem: Vim9: cannot pass "true" to win_splitmove(). Solution: Use dict_get_bool(). (closes https://github.com/vim/vim/issues/6862) Alphabetize test functions.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Sep 2020 22:00:03 +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>)