Mercurial > vim
view ci/if_ver-cmd.vim @ 32134:c8612da7564c v9.0.1398
patch 9.0.1398: profile test repeats the headers many times
Commit: https://github.com/vim/vim/commit/c0bdbfb2ee026e913e23a5d6bcaa97d44d9a6406
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 10 18:28:12 2023 +0000
patch 9.0.1398: profile test repeats the headers many times
Problem: Profile test repeats the headers many times.
Solution: Put the headers in script variables.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 10 Mar 2023 19:45: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>)