view ci/if_ver-cmd.vim @ 28175:3cc909ea91a8 v8.2.4613

patch 8.2.4613: return type of swapfile_unchanged() is wrong Commit: https://github.com/vim/vim/commit/3c5999e53d9f35a30abefb7224f66a75c8ffb009 Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Mar 23 13:54:51 2022 +0000 patch 8.2.4613: return type of swapfile_unchanged() is wrong Problem: Return type of swapfile_unchanged() is wrong. Solution: Use "int". (closes https://github.com/vim/vim/issues/10000 Yeah!)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Mar 2022 15:00:04 +0100
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>)