view ci/if_ver-cmd.vim @ 26034:9b2c6cea573c v8.2.3551

patch 8.2.3551: checking first character of url twice Commit: https://github.com/vim/vim/commit/94e7d345c156a722bb161b73238c4ba1d27ec586 Author: itchyny <itchyny@hatena.ne.jp> Date: Thu Oct 21 18:01:13 2021 +0100 patch 8.2.3551: checking first character of url twice Problem: Checking first character of url twice. Solution: Only check once. (closes https://github.com/vim/vim/issues/9026)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Oct 2021 19:15: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>)