Mercurial > vim
view ci/if_ver-cmd.vim @ 21837:2b941fbab4d9 v8.2.1468
patch 8.2.1468: Vim9: invalid error for missing white space
Commit: https://github.com/vim/vim/commit/f923571ec17b6caeeb7f4abfd7eec3f707ab9c45
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 16 18:42:53 2020 +0200
patch 8.2.1468: Vim9: invalid error for missing white space
Problem: Vim9: invalid error for missing white space.
Solution: Don't skip over white space after index. (closes https://github.com/vim/vim/issues/6718)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Aug 2020 18:45:03 +0200 |
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>)