Mercurial > vim
view ci/if_ver-cmd.vim @ 27390:018c911eb9cf v8.2.4223
patch 8.2.4223: long/int compiler warnings; function arguments swapped
Commit: https://github.com/vim/vim/commit/1a804528ab39f5c810cf42397702057100a94ade
Author: K.Takata <kentkt@csc.jp>
Date: Wed Jan 26 16:45:20 2022 +0000
patch 8.2.4223: long/int compiler warnings; function arguments swapped
Problem: Long/int compiler warnings; function arguments swapped.
Solution: Add type casts. Swap arguments. (Ken Takata, closes https://github.com/vim/vim/issues/9632)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Jan 2022 18: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>)