summaryrefslogtreecommitdiff
path: root/ci/if_ver-cmd.vim
blob: ac5d82a054b51585e5a93570b9b4d2b9c1e688d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" 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>)