view src/testdir/if_ver-1.vim @ 12387:1ecdbc207c1e v8.0.1073

patch 8.0.1073: may get an endless loop if 'statusline' changes a highlight commit https://github.com/vim/vim/commit/ba2929b6afd2fc20479912a8dec789be26a38244 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 8 13:59:21 2017 +0200 patch 8.0.1073: may get an endless loop if 'statusline' changes a highlight Problem: May get an endless loop if 'statusline' changes a highlight. Solution: Do not let evaluating 'statusline' trigger a redraw.
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Sep 2017 14: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