view ci/if_ver-cmd.vim @ 22359:f4d1fe8e04cf v8.2.1728

patch 8.2.1728: compiler warning for using uninitialized variable Commit: https://github.com/vim/vim/commit/c53e9c57a9846655c2d3169788f4beefa6d22d90 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 22 22:08:32 2020 +0200 patch 8.2.1728: compiler warning for using uninitialized variable Problem: Compiler warning for using uninitialized variable. (John Marriott) Solution: Initialize "neighbor".
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Sep 2020 22:15:03 +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>)