1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-16 23:08:07 +01:00
vim/ci/if_ver-cmd.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
241 B
VimL
Raw Normal View History

" 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>)