Mercurial > vim
view ci/if_ver-1.vim @ 21658:140a9082f87c v8.2.1379
patch 8.2.1379: curly braces expression ending in " }" does not work
Commit: https://github.com/vim/vim/commit/ae95a3946b012d4e68bcb20b28f691f6d3b9caaf
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 6 16:38:12 2020 +0200
patch 8.2.1379: curly braces expression ending in " }" does not work
Problem: Curly braces expression ending in " }" does not work.
Solution: Skip over white space when checking for "}". (closes https://github.com/vim/vim/issues/6634)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Aug 2020 16:45:04 +0200 |
parents | 27ff44268da5 |
children | 0878f0fd349b |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(_VERSION) echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif