Mercurial > vim
view ci/if_ver-cmd.vim @ 23322:68df9697667a v8.2.2206
patch 8.2.2206: :exe command line completion only works for first argument
Commit: https://github.com/vim/vim/commit/4941b5effd7f6a26583a949c92ee50276a3b43f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 24 17:15:53 2020 +0100
patch 8.2.2206: :exe command line completion only works for first argument
Problem: :exe command line completion only works for first argument.
Solution: Skip over text if more is following. (closes https://github.com/vim/vim/issues/7546)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Dec 2020 17: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>)