view src/testdir/if_ver-1.vim @ 17833:8377ec7c5824 v8.1.1913

patch 8.1.1913: not easy to compute the space on the command line Commit: https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 23 20:58:45 2019 +0200 patch 8.1.1913: not easy to compute the space on the command line Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes https://github.com/vim/vim/issues/4732)
author Bram Moolenaar <Bram@vim.org>
date Fri, 23 Aug 2019 21:00:05 +0200
parents 94e37fd22556
children
line wrap: on
line source

" Print all interface versions and write the result into if_ver.txt.
" For Ubuntu. Part 1.

redir! > if_ver.txt
if 1
  echo "*** Interface versions ***"
  echo "\nLua:"
  lua print(_VERSION)
  " echo "\nLuaJIT:"
  " lua print(jit.version)
  if has('mzscheme')
    echo "\nMzScheme:"
    mzscheme (display (version))
  endif
  echo "\nPerl:"
  perl print $^V
  echo "\nRuby:"
  ruby print RUBY_VERSION
  if has('tcl')
    echo "\nTcl:"
    tcl puts [info patchlevel]
  endif
  echo "\nPython 2:"
  python import sys; print sys.version
endif
redir END