Mercurial > vim
view ci/if_ver-2.vim @ 26650:a07323eb647f v8.2.3854
patch 8.2.3854: Vim9: inconsistent arguments for test functions
Commit: https://github.com/vim/vim/commit/86b3ab4fa0de3e8884ab6a6ced2a70592b937d0f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 19 18:33:23 2021 +0000
patch 8.2.3854: Vim9: inconsistent arguments for test functions
Problem: Vim9: inconsistent arguments for test functions.
Solution: When :def function and script have different arguments use a list
with two items instead of a separate function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Dec 2021 19:45:03 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Print py3 interface versions for Ubuntu. Part 2. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo 'Python 3:' PrintVer python3 print(sys.version) endif