Mercurial > vim
view ci/if_ver-cmd.vim @ 27916:6efa2f193c94 v8.2.4483
patch 8.2.4483: command completion makes two rounds to collect matches
Commit: https://github.com/vim/vim/commit/5de4c4372d4366bc85cb66efb3e373439b9471c5
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Feb 28 13:28:38 2022 +0000
patch 8.2.4483: command completion makes two rounds to collect matches
Problem: Command completion makes two rounds to collect matches.
Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
closes #9860)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Feb 2022 14:30: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>)