Mercurial > vim
view ci/if_ver-cmd.vim @ 31398:a5561303189e v9.0.1032
patch 9.0.1032: test fails when terminal feature is missing
Commit: https://github.com/vim/vim/commit/b9603f6498e5637e111bd1dca0eab88c8dd0f99b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 8 15:44:22 2022 +0000
patch 9.0.1032: test fails when terminal feature is missing
Problem: Test fails when terminal feature is missing.
Solution: Use CheckRunVimInTerminal.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 08 Dec 2022 16:45:05 +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>)