Mercurial > vim
view ci/if_ver-cmd.vim @ 27424:b17fe5191b49 v8.2.4240
patch 8.2.4240: error for using flatten() in Vim9 script is unclear
Commit: https://github.com/vim/vim/commit/fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 28 15:01:47 2022 +0000
patch 8.2.4240: error for using flatten() in Vim9 script is unclear
Problem: Error for using flatten() in Vim9 script is unclear.
Solution: Add a remark to use flattennew().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Jan 2022 16:15:03 +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>)