view src/testdir/if_ver-1.vim @ 12531:c7164578e508 v8.0.1144

patch 8.0.1144: using wrong #ifdef for computing length commit https://github.com/vim/vim/commit/0b05e491b473dbf39cd9f519030bf6363c272300 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 24 19:39:09 2017 +0200 patch 8.0.1144: using wrong #ifdef for computing length Problem: Using wrong #ifdef for computing length. Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro Matsomoto, closes #2153)
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Sep 2017 19:45:04 +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