Mercurial > vim
view ci/if_ver-cmd.vim @ 24081:7d28bac98927 v8.2.2582
patch 8.2.2582: Vim9: screendump test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/ffb7dcdb773c250a6acf45d5670a508be9248cb6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 10 14:00:18 2021 +0100
patch 8.2.2582: Vim9: screendump test fails on MS-Windows
Problem: Vim9: screendump test fails on MS-Windows.
Solution: Use :function instead of :def.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 10 Mar 2021 14:15:03 +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>)