Mercurial > vim
annotate src/testdir/if_ver-1.vim @ 14305:8a4c0ab88201 v8.1.0168
patch 8.1.0168: output of :marks is too short with multi-byte chars
commit https://github.com/vim/vim/commit/9d5185bf9dfaef59e47c573a60044a21d5e29c0c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 8 17:57:34 2018 +0200
patch 8.1.0168: output of :marks is too short with multi-byte chars
Problem: Output of :marks is too short with multi-byte chars. (Tony
Mechelynck)
Solution: Get more bytes from the text line.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Jul 2018 18:00:07 +0200 |
parents | 94e37fd22556 |
children |
rev | line source |
---|---|
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Print all interface versions and write the result into if_ver.txt. |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " For Ubuntu. Part 1. |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 redir! > if_ver.txt |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 if 1 |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 echo "*** Interface versions ***" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 echo "\nLua:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 lua print(_VERSION) |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 " echo "\nLuaJIT:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 " lua print(jit.version) |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 if has('mzscheme') |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 echo "\nMzScheme:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 mzscheme (display (version)) |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 endif |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 echo "\nPerl:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 perl print $^V |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 echo "\nRuby:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 ruby print RUBY_VERSION |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 if has('tcl') |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 echo "\nTcl:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 tcl puts [info patchlevel] |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 endif |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 echo "\nPython 2:" |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
24 python import sys; print sys.version |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 endif |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 redir END |