view src/testdir/if_ver-1.vim @ 18084:f4b51934d4f8 v8.1.2037

patch 8.1.2037: can call win_gotoid() in cmdline window Commit: https://github.com/vim/vim/commit/a046b37c22bcabdea5f0fd6d21ca4bd0aa4c768e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 17:26:07 2019 +0200 patch 8.1.2037: can call win_gotoid() in cmdline window Problem: Can call win_gotoid() in cmdline window. Solution: Disallow switching windows. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/4940)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 17:30:06 +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