Mercurial > vim
view ci/if_ver-cmd.vim @ 27233:73232ed49cf2 v8.2.4145
patch 8.2.4145: confusing error when using name of import for a function
Commit: https://github.com/vim/vim/commit/937610bc9f9c827e3e25fed32661fcbf3f994e10
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 19 17:21:29 2022 +0000
patch 8.2.4145: confusing error when using name of import for a function
Problem: Confusing error when using name of import for a function.
Solution: Pass a flag to trans_function_name().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Jan 2022 18:30: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>)