Mercurial > vim
view ci/if_ver-cmd.vim @ 26901:9805a7617981 v8.2.3979
patch 8.2.3979: Vim9: the feature is not mentioned in the right places
Commit: https://github.com/vim/vim/commit/a6feb163f0295dfefb829d93ba3fa659b9c262b6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 2 12:06:33 2022 +0000
patch 8.2.3979: Vim9: the feature is not mentioned in the right places
Problem: Vim9: the feature is not mentioned in the right places.
Solution: Add +vim9script to the help and :version output.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 13: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>)