Mercurial > vim
view ci/if_ver-cmd.vim @ 28556:ea98e79c9677 v8.2.4802
patch 8.2.4802: test is not cleaned up
Commit: https://github.com/vim/vim/commit/7851c69a120ea6ce8c122dd7198adbe5aec83ea5
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Apr 21 11:14:01 2022 +0100
patch 8.2.4802: test is not cleaned up
Problem: Test is not cleaned up.
Solution: Make test clean up after itself. Avoid NUL. (closes https://github.com/vim/vim/issues/10233)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Apr 2022 12:15:04 +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>)