Mercurial > vim
view ci/if_ver-1.vim @ 20846:709379ab5110 v8.2.0975
patch 8.2.0975: Vim9: script variable does not accept optional s: prefix
Commit: https://github.com/vim/vim/commit/984dddbef421eda6b8ad60936f380c5f00aebb96
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 12:50:24 2020 +0200
patch 8.2.0975: Vim9: script variable does not accept optional s: prefix
Problem: Vim9: script variable does not accept optional s: prefix.
Solution: Adjust the accepted syntax.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 13:00: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