Mercurial > vim
annotate ci/if_ver-2.vim @ 27154:6d7fe3af5aa2 v8.2.4106
patch 8.2.4106: going over the end of the w_lines array
Commit: https://github.com/vim/vim/commit/fa1a45705995f16ee7e69434c772107a3ddeeebd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 11:42:20 2022 +0000
patch 8.2.4106: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Break out of the loop when "idx" is too big. (issue https://github.com/vim/vim/issues/9540)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 12:45:03 +0100 |
parents | 27ff44268da5 |
children |
rev | line source |
---|---|
19161
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 " Print py3 interface versions for Ubuntu. Part 2. |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 if 1 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 echo 'Python 3:' |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 PrintVer python3 print(sys.version) |
27ff44268da5
patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 endif |