view ci/if_ver-cmd.vim @ 30118:53c1fab8081e v9.0.0395

patch 9.0.0395: clang warnings for function prototypes Commit: https://github.com/vim/vim/commit/635bb4908577738c5658a95672259b8537d97d49 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Tue Sep 6 16:31:26 2022 +0100 patch 9.0.0395: clang warnings for function prototypes Problem: Clang warnings for function prototypes. Solution: Remove incomplete function prototypes. (closes https://github.com/vim/vim/issues/11068)
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Sep 2022 17:45:05 +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>)