xref: /vim-8.2.3635/ci/if_ver-cmd.vim (revision 2387773d)
1" Provide 'PrintVer' command to print the interface versions.
2
3func s:print_ver(lang, ...)
4  if has(a:lang)
5    exec a:lang join(a:000)
6  else
7    echo 'N/A'
8  endif
9  echo ''
10endfunc
11
12command -nargs=+ PrintVer call <SID>print_ver(<f-args>)
13